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

Unified Diff: chrome/browser/media/router/media_router_base.h

Issue 2540773005: Add GetCurrentRoutes() to MediaRouter API, ensure dialog has routes at init (Closed)
Patch Set: Address Derek's comments Created 4 years 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/media_router_base.h
diff --git a/chrome/browser/media/router/media_router_base.h b/chrome/browser/media/router/media_router_base.h
index 45c0f261c24156c24a2fd1b0b1e1d1e23d5d76f6..17c46d7a757dc44c5ce90525510200eec1319ffe 100644
--- a/chrome/browser/media/router/media_router_base.h
+++ b/chrome/browser/media/router/media_router_base.h
@@ -32,6 +32,8 @@ class MediaRouterBase : public MediaRouter {
// This will terminate all incognito media routes.
void OnIncognitoProfileShutdown() override;
+ const std::vector<MediaRoute>& GetCurrentRoutes() const override;
+
protected:
FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest,
PresentationConnectionStateChangedCallback);

Powered by Google App Engine
This is Rietveld 408576698