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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_impl.h

Issue 2145983003: [Media Router] Adds return value to mojo MediaRouteProvider::TerminateRoute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in media_router_bindings.js Created 4 years, 5 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/media/router/mojo/media_router_mojo_impl.h
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl.h b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
index 0b70d72a5f932196e64a6c3c203750810f710d8e..1582a46e52d5228a3927d9f28222e15affca78a0 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
@@ -306,6 +306,12 @@ class MediaRouterMojoImpl : public MediaRouterBase,
const mojo::String& route_id,
mojo::Array<interfaces::RouteMessagePtr> messages) override;
+ // Result callback when Mojo terminateRoute is invoked. |route_id| is bound
+ // to the ID of the route that was terminated.
+ void OnTerminateRouteResult(const MediaRoute::Id& route_id,
+ mojo::String error_text,
+ interfaces::RouteRequestResultCode result_code);
+
// Converts the callback result of calling Mojo CreateRoute()/JoinRoute()
// into a local callback.
void RouteResponseReceived(
« no previous file with comments | « chrome/browser/media/router/mojo/media_router.mojom ('k') | chrome/browser/media/router/mojo/media_router_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698