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

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

Issue 1363593003: [Media Router] Set timeout for route creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes per imcheng@'s comments. Created 5 years, 2 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_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 3a4faf80995fecc43b04e5632ebe3c4d0e39325d..78008e10a9fd65f8d6309c4267bbaf269ec12f5c 100644
--- a/chrome/browser/resources/media_router/media_router_ui_interface.js
+++ b/chrome/browser/resources/media_router/media_router_ui_interface.js
@@ -11,6 +11,13 @@ cr.define('media_router.ui', function() {
var container = null;
/**
+ * Handles timeout of previous create route attempt.
+ */
+ function onNotifyRouteCreationTimeout() {
+ container.onNotifyRouteCreationTimeout();
+ }
+
+ /**
* Handles response of previous create route attempt.
*
* @param {string} sinkId The ID of the sink to which the Media Route was
@@ -95,6 +102,7 @@ cr.define('media_router.ui', function() {
}
return {
+ onNotifyRouteCreationTimeout: onNotifyRouteCreationTimeout,
onCreateRouteResponseReceived: onCreateRouteResponseReceived,
setCastModeList: setCastModeList,
setContainer: setContainer,
« no previous file with comments | « chrome/browser/resources/media_router/media_router_data.js ('k') | chrome/browser/ui/webui/media_router/media_cast_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698