Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: chrome/browser/media/router/media_router.mojom

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/router/media_router.mojom
diff --git a/chrome/browser/media/router/media_router.mojom b/chrome/browser/media/router/media_router.mojom
index a7425499e49cb3d79afc08f1fbff84a2c1a71dcb..0f3aec147dbd61f47676cc81f0c070e4754d69a5 100644
--- a/chrome/browser/media/router/media_router.mojom
+++ b/chrome/browser/media/router/media_router.mojom
@@ -123,11 +123,13 @@ interface MediaRouteProvider {
// |error_text| will be null.
// If the operation failed, |route| will be null and |error_text|
// will be set.
+ // |is_one_ua_presentation| will indicate whether the route created is a
+ // 1-UA presentation.
CreateRoute(string media_source,
string sink_id,
string original_presentation_id,
string origin,
- int32 tab_id) => (MediaRoute? route, string? error_text);
+ int32 tab_id) => (MediaRoute? route, string? error_text, bool is_one_ua_presentation);
// Joins an established route given by |presentation_id|
// with |media_source|.
@@ -137,10 +139,12 @@ interface MediaRouteProvider {
// |error_text| will be null.
// If the operation failed, |route| will be null and |error_text|
// will be set.
+ // |is_one_ua_presentation| will indicate whether the route created is a
+ // 1-UA presentation.
JoinRoute(string media_source,
string presentation_id,
string origin,
- int32 tab_id) => (MediaRoute? route, string? error_text);
+ int32 tab_id) => (MediaRoute? route, string? error_text, bool is_one_ua_presentation);
// Closes the route specified by |route_id|.
CloseRoute(string route_id);

Powered by Google App Engine
This is Rietveld 408576698