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

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: Fixing ChromeOS System Tray Test Created 4 years, 11 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/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 1f70797f6f2be34d7a0b50991999215786570688..3da29c540f36023238eab49e49ad6a8c848e98c3 100644
--- a/chrome/browser/resources/media_router/media_router_data.js
+++ b/chrome/browser/resources/media_router/media_router_data.js
@@ -133,12 +133,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;
@@ -155,6 +156,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