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

Unified Diff: chrome/browser/media/router/media_router.mojom

Issue 1177073003: [MediaRouter] Update MR-2-Extension's PostMessage to return boolean. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename SendMessage to SendRouteMessage Created 5 years, 6 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/browser/media/router/media_router.h ('k') | chrome/browser/media/router/media_router_mojo_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_router.mojom
diff --git a/chrome/browser/media/router/media_router.mojom b/chrome/browser/media/router/media_router.mojom
index e67b327f5571e0419906741eeae7448f81d9ac6e..bf459870019aeb34cd70e418d543f098ab551b9c 100644
--- a/chrome/browser/media/router/media_router.mojom
+++ b/chrome/browser/media/router/media_router.mojom
@@ -94,9 +94,9 @@ interface MediaRouter {
// Closes the route specified by |route_id|.
CloseRoute(string route_id);
- // Sends |message| with optional |extra_info_json| via the media route
- // |media_route_id|.
- PostMessage(string media_route_id, string message);
+ // Sends |message| via the media route |media_route_id|.
+ // If the operation was successful, |sent| is true; otherwise it is false.
+ SendRouteMessage(string media_route_id, string message) => (bool sent);
// Starts querying for sinks capable of displaying |media_source|.
StartObservingMediaSinks(string media_source);
« no previous file with comments | « chrome/browser/media/router/media_router.h ('k') | chrome/browser/media/router/media_router_mojo_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698