| 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/containers/small_map.h" | 10 #include "base/containers/small_map.h" |
| 11 #include "base/gtest_prod_util.h" | |
| 12 #include "base/logging.h" | 11 #include "base/logging.h" |
| 13 #include "base/values.h" | 12 #include "base/values.h" |
| 14 #include "chrome/browser/media/router/media_sink.h" | 13 #include "chrome/browser/media/router/media_sink.h" |
| 15 #include "chrome/browser/media/router/media_source.h" | 14 #include "chrome/browser/media/router/media_source.h" |
| 16 #include "content/public/browser/presentation_session.h" | 15 #include "content/public/browser/presentation_session.h" |
| 17 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 18 | 17 |
| 19 namespace media_router { | 18 namespace media_router { |
| 20 | 19 |
| 21 // MediaRoute objects contain the status and metadata of a routing | 20 // MediaRoute objects contain the status and metadata of a routing |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 private: | 101 private: |
| 103 base::SmallMap<std::map<MediaRoute::Id, content::PresentationSessionInfo>> | 102 base::SmallMap<std::map<MediaRoute::Id, content::PresentationSessionInfo>> |
| 104 route_id_to_presentation_; | 103 route_id_to_presentation_; |
| 105 | 104 |
| 106 DISALLOW_COPY_AND_ASSIGN(MediaRouteIdToPresentationSessionMapping); | 105 DISALLOW_COPY_AND_ASSIGN(MediaRouteIdToPresentationSessionMapping); |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 } // namespace media_router | 108 } // namespace media_router |
| 110 | 109 |
| 111 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 110 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
| OLD | NEW |