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

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

Issue 2558963003: Add GetCurrentRoutes() to MediaRouter API, ensure dialog has routes at init (Closed)
Patch Set: 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/mock_media_router.h
diff --git a/chrome/browser/media/router/mock_media_router.h b/chrome/browser/media/router/mock_media_router.h
index fcd406f16af7fa13f049cf622f7cff86eb603c3d..e949fac83c6b618fc73bb2a75f0c14cb6eb67564 100644
--- a/chrome/browser/media/router/mock_media_router.h
+++ b/chrome/browser/media/router/mock_media_router.h
@@ -85,6 +85,7 @@ class MockMediaRouter : public MediaRouterBase {
OnAddPresentationConnectionStateChangedCallbackInvoked(callback);
return connection_state_callbacks_.Add(callback);
}
+ MOCK_CONST_METHOD0(GetCurrentRoutes, std::vector<MediaRoute>());
MOCK_METHOD0(OnIncognitoProfileShutdown, void());
MOCK_METHOD1(OnAddPresentationConnectionStateChangedCallbackInvoked,

Powered by Google App Engine
This is Rietveld 408576698