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

Unified Diff: chrome/browser/resources/media_router/media_router_data.js

Issue 1415103006: Non-Local Join for Media Router and Presentation API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review Fixes 2 Created 5 years 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/resources/media_router/media_router_data.js
diff --git a/chrome/browser/resources/media_router/media_router_data.js b/chrome/browser/resources/media_router/media_router_data.js
index aec528cfc02c4ffd820a8be82fad3ec73f0d718a..368c5b44376076fb832cb3d5e139dbaa380094c7 100644
--- a/chrome/browser/resources/media_router/media_router_data.js
+++ b/chrome/browser/resources/media_router/media_router_data.js
@@ -120,12 +120,13 @@ cr.define('media_router', function() {
* @param {?number} tabId The ID of the tab in which web app is running and
* accessing the route.
* @param {boolean} isLocal True if this is a locally created route.
+ * @param {boolean} canJoin True if this route can be joined.
* @param {?string} customControllerPath non-empty if this route has custom
* controller.
* @constructor
* @struct
*/
- var Route = function(id, sinkId, description, tabId, isLocal,
+ var Route = function(id, sinkId, description, tabId, isLocal, canJoin,
customControllerPath) {
/** @type {string} */
this.id = id;
@@ -142,6 +143,9 @@ cr.define('media_router', function() {
/** @type {boolean} */
this.isLocal = isLocal;
+ /** @type {boolean} */
+ this.canJoin = canJoin;
+
/** @type {?string} */
this.customControllerPath = customControllerPath;
};

Powered by Google App Engine
This is Rietveld 408576698