Index: chrome/browser/media/router/media_router.h |
diff --git a/chrome/browser/media/router/media_router.h b/chrome/browser/media/router/media_router.h |
index fc9079f0f86be1dbaa08c34476ac236fa85bcd94..e46672dcfb407c1f65ad4d05383b8c194db4d7b0 100644 |
--- a/chrome/browser/media/router/media_router.h |
+++ b/chrome/browser/media/router/media_router.h |
@@ -100,8 +100,12 @@ class MediaRouter : public KeyedService { |
content::WebContents* web_contents, |
const std::vector<MediaRouteResponseCallback>& callbacks) = 0; |
- // Closes the media route specified by |route_id|. |
- virtual void CloseRoute(const MediaRoute::Id& route_id) = 0; |
+ // Terminated the media route specified by |route_id|. |
imcheng
2015/12/10 19:50:46
s/Terminated/Terminates
mark a. foltz
2015/12/10 23:46:48
Done
|
+ virtual void TerminateRoute(const MediaRoute::Id& route_id) = 0; |
+ |
+ // Detach the media route specified by |route_id|. The request might come from |
imcheng
2015/12/10 19:50:46
s/Detach/Detaches
mark a. foltz
2015/12/10 23:46:48
Done
|
+ // the page or from an event like navigation or garbage collection. |
+ virtual void DetachRoute(const MediaRoute::Id& route_id) = 0; |
// Posts |message| to a MediaSink connected via MediaRoute with |route_id|. |
virtual void SendRouteMessage(const MediaRoute::Id& route_id, |
@@ -121,11 +125,6 @@ class MediaRouter : public KeyedService { |
// Clears the issue with the id |issue_id|. |
virtual void ClearIssue(const Issue::Id& issue_id) = 0; |
- // Indicates that a presentation session has detached from the underlying |
- // MediaRoute |route_id| (due to navigation, garbage collection, etc.) |
- virtual void OnPresentationSessionDetached( |
- const MediaRoute::Id& route_id) = 0; |
- |
// Returns whether or not there is currently an active local displayable |
// route. |
virtual bool HasLocalDisplayRoute() const = 0; |