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

Unified Diff: chrome/browser/media/android/router/media_router_android.cc

Issue 1911183002: [Media Router] Implement an internal Media Routes observer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge & android build Created 4 years, 8 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 | « no previous file | chrome/browser/media/router/media_router_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/android/router/media_router_android.cc
diff --git a/chrome/browser/media/android/router/media_router_android.cc b/chrome/browser/media/android/router/media_router_android.cc
index 126bff9e4b506a56409a727934d3d937916ebcbe..ed5bb4ebe303fa0a67f73e76723d1a424f7141e5 100644
--- a/chrome/browser/media/android/router/media_router_android.cc
+++ b/chrome/browser/media/android/router/media_router_android.cc
@@ -194,7 +194,6 @@ void MediaRouterAndroid::TerminateRoute(const MediaRoute::Id& route_id) {
base::android::ConvertUTF8ToJavaString(env, route_id);
Java_ChromeMediaRouter_closeRoute(
env, java_media_router_.obj(), jroute_id.obj());
- OnRouteTerminated(route_id);
}
void MediaRouterAndroid::SendRouteMessage(
@@ -402,8 +401,6 @@ void MediaRouterAndroid::OnRouteCreated(
jis_local, std::string(),
true); // TODO(avayvod): Populate for_display.
- // TODO(crbug.com/588239): Call OnOffTheRecordRouteCreated() if |route|
- // is OTR
std::unique_ptr<RouteRequestResult> result = RouteRequestResult::FromSuccess(
base::WrapUnique(new MediaRoute(route)), request->presentation_id);
for (const MediaRouteResponseCallback& callback : request->callbacks)
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698