| Index: chrome/browser/media/router/media_router_base.h
|
| diff --git a/chrome/browser/media/router/media_router_base.h b/chrome/browser/media/router/media_router_base.h
|
| index e2710031b7627726cd609027c47c3cd1865a6082..aa84494fb10912abc63146083de59111a90b48d7 100644
|
| --- a/chrome/browser/media/router/media_router_base.h
|
| +++ b/chrome/browser/media/router/media_router_base.h
|
| @@ -34,6 +34,9 @@ class MediaRouterBase : public MediaRouter {
|
|
|
| std::vector<MediaRoute> GetCurrentRoutes() const override;
|
|
|
| + scoped_refptr<MediaRouteController> GetRouteController(
|
| + const MediaRoute::Id& route_id) override;
|
| +
|
| protected:
|
| FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest,
|
| PresentationConnectionStateChangedCallback);
|
| @@ -59,6 +62,9 @@ class MediaRouterBase : public MediaRouter {
|
| // JoinRoute().
|
| bool HasJoinableRoute() const;
|
|
|
| + // Returns true if there is a route with the ID in the current list of routes.
|
| + bool IsRouteKnown(const std::string& route_id) const;
|
| +
|
| using PresentationConnectionStateChangedCallbacks = base::CallbackList<void(
|
| const content::PresentationConnectionStateChangeInfo&)>;
|
|
|
| @@ -85,6 +91,10 @@ class MediaRouterBase : public MediaRouter {
|
| // KeyedService
|
| void Shutdown() override;
|
|
|
| + // MediaRouter
|
| + void DetachRouteController(const MediaRoute::Id& route_id,
|
| + MediaRouteController* controller) override;
|
| +
|
| std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_;
|
| bool initialized_;
|
|
|
|
|