| 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 f355c58832304dfd251fac2b74117e43316a0786..daa6a4e05b2d7e01a14c638b5dd102a12618aea2 100644
|
| --- a/chrome/browser/media/router/media_router.h
|
| +++ b/chrome/browser/media/router/media_router.h
|
| @@ -76,6 +76,22 @@ class MediaRouter : public KeyedService {
|
| content::WebContents* web_contents,
|
| const std::vector<MediaRouteResponseCallback>& callbacks) = 0;
|
|
|
| + // Joins an existing route identified by |route_id|. This is used for
|
| + // non-local routes since no Presentation ID is available.
|
| + // |source|: The source to route to the existing route.
|
| + // |route_id|: Route ID of the existing route.
|
| + // |origin|, |web_contents|: Origin and WebContents of the join route request.
|
| + // Used for validation when enforcing same-origin and/or same-tab scope.
|
| + // (See CreateRoute documentation).
|
| + // Each callback in |callbacks| is invoked with a response indicating
|
| + // success or failure, in the order they are listed.
|
| + virtual void JoinRouteByRouteId(
|
| + const MediaSource::Id& source,
|
| + const MediaRoute::Id& route_id,
|
| + const GURL& origin,
|
| + content::WebContents* web_contents,
|
| + const std::vector<MediaRouteResponseCallback>& callbacks) = 0;
|
| +
|
| // Joins an existing route identified by |presentation_id|.
|
| // |source|: The source to route to the existing route.
|
| // |presentation_id|: Presentation ID of the existing route.
|
|
|