OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 namespace shell { | 32 namespace shell { |
33 class InterfaceRegistry; | 33 class InterfaceRegistry; |
34 } | 34 } |
35 | 35 |
36 namespace chromecast { | 36 namespace chromecast { |
37 class CastService; | 37 class CastService; |
38 | 38 |
39 namespace media { | 39 namespace media { |
| 40 class CastMojoMediaClient; |
40 class MediaCapsImpl; | 41 class MediaCapsImpl; |
41 class MediaPipelineBackend; | 42 class MediaPipelineBackend; |
42 class MediaPipelineBackendManager; | 43 class MediaPipelineBackendManager; |
43 struct MediaPipelineDeviceParams; | 44 struct MediaPipelineDeviceParams; |
44 class MediaResourceTracker; | 45 class MediaResourceTracker; |
45 class VideoPlaneController; | 46 class VideoPlaneController; |
46 class VideoResolutionPolicy; | 47 class VideoResolutionPolicy; |
47 } | 48 } |
48 | 49 |
49 namespace shell { | 50 namespace shell { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 const std::string& process_type); | 199 const std::string& process_type); |
199 | 200 |
200 // A static cache to hold crash_handlers for each process_type | 201 // A static cache to hold crash_handlers for each process_type |
201 std::map<std::string, breakpad::CrashHandlerHostLinux*> crash_handlers_; | 202 std::map<std::string, breakpad::CrashHandlerHostLinux*> crash_handlers_; |
202 #endif // !defined(OS_ANDROID) | 203 #endif // !defined(OS_ANDROID) |
203 | 204 |
204 // Created by CastContentBrowserClient but owned by BrowserMainLoop. | 205 // Created by CastContentBrowserClient but owned by BrowserMainLoop. |
205 CastBrowserMainParts* cast_browser_main_parts_; | 206 CastBrowserMainParts* cast_browser_main_parts_; |
206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 207 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
207 | 208 |
| 209 // This is the MojoMediaClient used for media mojo interfaces exposed to the |
| 210 // renderer process. |
| 211 std::unique_ptr<media::CastMojoMediaClient> cast_mojo_media_client_; |
| 212 |
208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 213 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
209 }; | 214 }; |
210 | 215 |
211 } // namespace shell | 216 } // namespace shell |
212 } // namespace chromecast | 217 } // namespace chromecast |
213 | 218 |
214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 219 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |