// 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:
//     chrome/browser/media/router/media_router.mojom
//

package org.chromium.mojom.media_router.interfaces;

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

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

    Manager<MediaRouter, MediaRouter.Proxy> MANAGER = MediaRouter_Internal.MANAGER;

    void registerMediaRouteProvider(MediaRouteProvider mediaRouterProvider, RegisterMediaRouteProviderResponse callback);
    interface RegisterMediaRouteProviderResponse extends org.chromium.mojo.bindings.Callbacks.Callback1<String> { }

    void onSinksReceived(String mediaSource, MediaSink[] sinks);

    void onIssue(Issue issue);

    void onRoutesUpdated(MediaRoute[] routes);
}

