| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_; | 88 std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_; |
| 89 bool initialized_; | 89 bool initialized_; |
| 90 | 90 |
| 91 DISALLOW_COPY_AND_ASSIGN(MediaRouterBase); | 91 DISALLOW_COPY_AND_ASSIGN(MediaRouterBase); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace media_router | 94 } // namespace media_router |
| 95 | 95 |
| 96 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ | 96 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ |
| OLD | NEW |