OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_OFFSCREEN_PRESENTATION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_OFFSCREEN_PRESENTATION_MANAGER_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_OFFSCREEN_PRESENTATION_MANAGER_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_OFFSCREEN_PRESENTATION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <unordered_map> | 11 #include <unordered_map> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/optional.h" | 14 #include "base/optional.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "chrome/browser/media/router/media_route.h" | |
17 #include "chrome/browser/media/router/render_frame_host_id.h" | 16 #include "chrome/browser/media/router/render_frame_host_id.h" |
| 17 #include "chrome/common/media_router/media_route.h" |
18 #include "components/keyed_service/core/keyed_service.h" | 18 #include "components/keyed_service/core/keyed_service.h" |
19 #include "content/public/browser/presentation_service_delegate.h" | 19 #include "content/public/browser/presentation_service_delegate.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace media_router { | 23 namespace media_router { |
24 // Manages all offscreen presentations started in the associated Profile and | 24 // Manages all offscreen presentations started in the associated Profile and |
25 // facilitates communication between the controllers and the receiver of an | 25 // facilitates communication between the controllers and the receiver of an |
26 // offscreen presentation. | 26 // offscreen presentation. |
27 // | 27 // |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 OffscreenPresentationMap offscreen_presentations_; | 244 OffscreenPresentationMap offscreen_presentations_; |
245 | 245 |
246 base::ThreadChecker thread_checker_; | 246 base::ThreadChecker thread_checker_; |
247 | 247 |
248 DISALLOW_COPY_AND_ASSIGN(OffscreenPresentationManager); | 248 DISALLOW_COPY_AND_ASSIGN(OffscreenPresentationManager); |
249 }; | 249 }; |
250 | 250 |
251 } // namespace media_router | 251 } // namespace media_router |
252 | 252 |
253 #endif // CHROME_BROWSER_MEDIA_ROUTER_OFFSCREEN_PRESENTATION_MANAGER_H_ | 253 #endif // CHROME_BROWSER_MEDIA_ROUTER_OFFSCREEN_PRESENTATION_MANAGER_H_ |
OLD | NEW |