| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 MediaRoute::Id media_route_id_; | 74 MediaRoute::Id media_route_id_; |
| 75 MediaSource media_source_; | 75 MediaSource media_source_; |
| 76 MediaSink media_sink_; | 76 MediaSink media_sink_; |
| 77 std::string description_; | 77 std::string description_; |
| 78 bool is_local_; | 78 bool is_local_; |
| 79 MediaRouteState state_; | 79 MediaRouteState state_; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 // Return a pair of Presentation ID and URL. If the input route ID is invalid, |
| 83 // a pair of empty strings is returned. |
| 84 std::pair<std::string, std::string> GetPresentationIdAndUrl( |
| 85 const MediaRoute::Id& id); |
| 86 |
| 82 } // namespace media_router | 87 } // namespace media_router |
| 83 | 88 |
| 84 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 89 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
| OLD | NEW |