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 075fa1f2768629b9f0c16c75854f21cbe54d934a..516fd0ab971398c484f3c3bf13d222413c4e1ec7 100644 |
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h |
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h |
@@ -308,6 +308,12 @@ class MediaRouterMojoImpl : public MediaRouterBase, |
interfaces::MediaRouter::PresentationConnectionCloseReason reason, |
const mojo::String& message) 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( |