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

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

Issue 2731043002: [Media Router] Add a presentation id to MediaRoute mapping in the MR (Closed)
Patch Set: resolve code review comments from Derek Created 3 years, 9 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/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 e2710031b7627726cd609027c47c3cd1865a6082..c56943cc78c99674f4ae1bb1d5427c6d997b70ee 100644
--- a/chrome/browser/media/router/media_router_base.h
+++ b/chrome/browser/media/router/media_router_base.h
@@ -34,6 +34,12 @@ class MediaRouterBase : public MediaRouter {
std::vector<MediaRoute> GetCurrentRoutes() const override;
+ const MediaRoute* GetPresentationRoute(
+ const std::string& presentation_id) const override;
+
+ void SetPresentationId(const MediaRoute::Id& route_id,
+ const std::string& presentation_id) override;
+
protected:
FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest,
PresentationConnectionStateChangedCallback);

Powered by Google App Engine
This is Rietveld 408576698