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

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

Issue 1202963004: Gets presentation ID from route ID upon route creation, and overrides previous presentation ID with… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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_route.h
diff --git a/chrome/browser/media/router/media_route.h b/chrome/browser/media/router/media_route.h
index e8d270ae7dba683e6ff9880ac0f363c1320ed57f..8e47ee36db31ec77fe5ff50a4789802c9b776298 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -79,6 +79,11 @@ class MediaRoute {
MediaRouteState state_;
};
+// Return a pair of Presentation ID and URL. If the input route ID is invalid,
+// a pair of empty strings is returned.
+std::pair<std::string, std::string> GetPresentationIdAndUrl(
+ const MediaRoute::Id& id);
+
} // namespace media_router
#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
« no previous file with comments | « chrome/browser/media/router/create_session_request_unittest.cc ('k') | chrome/browser/media/router/media_route.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698