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

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

Issue 2518083002: Deprecated: [Media Router] Ensure dialog shows route details view if there is one local route (Closed)
Patch Set: Created 4 years, 1 month 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_ui_interface.js
diff --git a/chrome/browser/resources/media_router/media_router_ui_interface.js b/chrome/browser/resources/media_router/media_router_ui_interface.js
index 6232c37ae48ac53a338e345f9e0428e92be72fd7..2c26582c8eb0cdee88890b75fd4ee5035b49deb8 100644
--- a/chrome/browser/resources/media_router/media_router_ui_interface.js
+++ b/chrome/browser/resources/media_router/media_router_ui_interface.js
@@ -96,20 +96,16 @@ cr.define('media_router.ui', function() {
* userEmail: string,
* showDomain: boolean
* },
- * routes: !Array<!media_router.Route>,
* castModes: !Array<!media_router.CastMode>}} data
* Parameters in data:
* deviceMissingUrl - url to be opened on "Device missing?" clicked.
* sinksAndIdentity - list of sinks to be displayed and user identity.
- * routes - list of routes that are associated with the sinks.
* castModes - list of available cast modes.
*/
function setInitialData(data) {
container.deviceMissingUrl = data['deviceMissingUrl'];
container.castModeList = data['castModes'];
this.setSinkListAndIdentity(data['sinksAndIdentity']);
- container.routeList = data['routes'];
- container.maybeShowRouteDetailsOnOpen();
media_router.browserApi.onInitialDataReceived();
}

Powered by Google App Engine
This is Rietveld 408576698