Chromium Code Reviews| 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_ |