// 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/url_loader.mojom
//

package org.chromium.mojom.mojo;

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

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

    Manager<UrlLoader, UrlLoader.Proxy> MANAGER = UrlLoader_Internal.MANAGER;

    void start(UrlRequest request, StartResponse callback);
    interface StartResponse extends org.chromium.mojo.bindings.Callbacks.Callback1<UrlResponse> { }

    void followRedirect(FollowRedirectResponse callback);
    interface FollowRedirectResponse extends org.chromium.mojo.bindings.Callbacks.Callback1<UrlResponse> { }

    void queryStatus(QueryStatusResponse callback);
    interface QueryStatusResponse extends org.chromium.mojo.bindings.Callbacks.Callback1<UrlLoaderStatus> { }
}

