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_ROUTER_BASE_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <unordered_map> | 9 #include <unordered_map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_list.h" | 12 #include "base/callback_list.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "chrome/browser/media/router/media_route.h" | |
16 #include "chrome/browser/media/router/media_router.h" | 15 #include "chrome/browser/media/router/media_router.h" |
17 #include "chrome/browser/media/router/media_routes_observer.h" | 16 #include "chrome/browser/media/router/media_routes_observer.h" |
| 17 #include "chrome/common/media_router/media_route.h" |
18 | 18 |
19 namespace media_router { | 19 namespace media_router { |
20 | 20 |
21 class MediaRouterBase : public MediaRouter { | 21 class MediaRouterBase : public MediaRouter { |
22 public: | 22 public: |
23 ~MediaRouterBase() override; | 23 ~MediaRouterBase() override; |
24 | 24 |
25 std::unique_ptr<PresentationConnectionStateSubscription> | 25 std::unique_ptr<PresentationConnectionStateSubscription> |
26 AddPresentationConnectionStateChangedCallback( | 26 AddPresentationConnectionStateChangedCallback( |
27 const MediaRoute::Id& route_id, | 27 const MediaRoute::Id& route_id, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_; | 98 std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_; |
99 bool initialized_; | 99 bool initialized_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(MediaRouterBase); | 101 DISALLOW_COPY_AND_ASSIGN(MediaRouterBase); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace media_router | 104 } // namespace media_router |
105 | 105 |
106 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ | 106 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ |
OLD | NEW |