// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file is autogenerated by:
//     mojo/public/tools/bindings/mojom_bindings_generator.py
// For:
//     mojo/services/network/public/interfaces/http_connection.mojom
//

package org.chromium.mojom.mojo;

public interface HttpConnectionDelegate extends org.chromium.mojo.bindings.Interface {

    public interface Proxy extends HttpConnectionDelegate, org.chromium.mojo.bindings.Interface.Proxy {
    }

    Manager<HttpConnectionDelegate, HttpConnectionDelegate.Proxy> MANAGER = HttpConnectionDelegate_Internal.MANAGER;

    void onReceivedRequest(HttpRequest request, OnReceivedRequestResponse callback);
    interface OnReceivedRequestResponse extends org.chromium.mojo.bindings.Callbacks.Callback1<HttpResponse> { }

    void onReceivedWebSocketRequest(HttpRequest request, OnReceivedWebSocketRequestResponse callback);
    interface OnReceivedWebSocketRequestResponse extends org.chromium.mojo.bindings.Callbacks.Callback3<org.chromium.mojo.bindings.InterfaceRequest<WebSocket>, org.chromium.mojo.system.DataPipe.ConsumerHandle, WebSocketClient> { }
}

