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

Unified Diff: chrome/renderer/resources/extensions/media_router_bindings.js

Issue 2873893003: [Media Router] Add features to control browser side discovery (Closed)
Patch Set: resolve code review comments from Mark Created 3 years, 7 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
« no previous file with comments | « chrome/common/media_router/mojo/media_router.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/media_router_bindings.js
diff --git a/chrome/renderer/resources/extensions/media_router_bindings.js b/chrome/renderer/resources/extensions/media_router_bindings.js
index 4eac39580f763d4dcfffd4fab6bb86380a9d73dc..14481226fdbb3e5d0da0cb01c8f0e75bcbbfeaf4 100644
--- a/chrome/renderer/resources/extensions/media_router_bindings.js
+++ b/chrome/renderer/resources/extensions/media_router_bindings.js
@@ -294,14 +294,11 @@ define('media_router_bindings', [
/**
* Registers the Media Router Provider Manager with the Media Router.
- * @return {!Promise<string>} Instance ID for the Media Router.
+ * @return {!Promise<Object>} Instance ID and config for the Media Router.
*/
MediaRouter.prototype.start = function() {
return this.service_.registerMediaRouteProvider(
- this.mediaRouteProviderBinding_.createInterfacePtrAndBind()).then(
- function(result) {
- return result.instance_id;
- }.bind(this));
+ this.mediaRouteProviderBinding_.createInterfacePtrAndBind());
}
/**
« no previous file with comments | « chrome/common/media_router/mojo/media_router.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698