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

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

Issue 1430413003: [Media Router] Connection state change listening redesign part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_route.h
diff --git a/chrome/browser/media/router/media_route.h b/chrome/browser/media/router/media_route.h
index fb5f9f0199cca3e5ffd49cdcc32086b00efc76e1..b368751c5b49150b61b69226c5dd0dd055c5bb55 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -83,28 +83,6 @@ class MediaRoute {
bool for_display_;
};
-class MediaRouteIdToPresentationSessionMapping {
- public:
- MediaRouteIdToPresentationSessionMapping();
- ~MediaRouteIdToPresentationSessionMapping();
-
- void Add(const MediaRoute::Id& route_id,
- const content::PresentationSessionInfo& session_info);
- void Remove(const MediaRoute::Id& route_id);
- void Clear();
-
- // Gets the PresentationSessionInfo corresponding to |route_id| or nullptr
- // if it does not exist. Caller should not hold on to the returned pointer.
- const content::PresentationSessionInfo* Get(
- const MediaRoute::Id& route_id) const;
-
- private:
- base::SmallMap<std::map<MediaRoute::Id, content::PresentationSessionInfo>>
- route_id_to_presentation_;
-
- DISALLOW_COPY_AND_ASSIGN(MediaRouteIdToPresentationSessionMapping);
-};
-
} // namespace media_router
#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
« no previous file with comments | « chrome/browser/media/android/router/media_router_android.cc ('k') | chrome/browser/media/router/media_route.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698