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

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.
Kevin M 2015/06/24 23:02:07 If a caller is going to use half the pair but disc
Kevin M 2015/06/24 23:02:07 Presentation API support functions should be in pr
Kevin M 2015/06/24 23:02:07 Document the parameters and return type
haibinlu 2015/06/24 23:25:12 Ack. Constructing presentation session message is
haibinlu 2015/06/24 23:25:13 They are obvious in method signature. Not sure abo
haibinlu 2015/06/24 23:25:13 yes, there are lot more fields in the route-id. I
+std::pair<std::string, std::string> GetPresentationIdAndUrl(
+ const MediaRoute::Id& id);
+
} // namespace media_router
#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_

Powered by Google App Engine
This is Rietveld 408576698