Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: chromecast/browser/cast_content_browser_client.h

Issue 1855633002: Revert of [chromecast] Pass media task runner to MediaPipelineBackendManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 15 matching lines...) Expand all
26 26
27 namespace metrics { 27 namespace metrics {
28 class MetricsService; 28 class MetricsService;
29 } 29 }
30 30
31 namespace chromecast { 31 namespace chromecast {
32 class CastService; 32 class CastService;
33 33
34 namespace media { 34 namespace media {
35 class MediaPipelineBackend; 35 class MediaPipelineBackend;
36 class MediaPipelineBackendManager;
37 struct MediaPipelineDeviceParams; 36 struct MediaPipelineDeviceParams;
38 class MediaResourceTracker; 37 class MediaResourceTracker;
39 class VideoPlaneController; 38 class VideoPlaneController;
40 } 39 }
41 40
42 namespace shell { 41 namespace shell {
43 42
44 class CastBrowserMainParts; 43 class CastBrowserMainParts;
45 class URLRequestContextFactory; 44 class URLRequestContextFactory;
46 45
(...skipping 20 matching lines...) Expand all
67 net::URLRequestContextGetter* request_context_getter, 66 net::URLRequestContextGetter* request_context_getter,
68 media::VideoPlaneController* video_plane_controller); 67 media::VideoPlaneController* video_plane_controller);
69 68
70 #if !defined(OS_ANDROID) 69 #if !defined(OS_ANDROID)
71 // Creates a MediaPipelineDevice (CMA backend) for media playback, called 70 // Creates a MediaPipelineDevice (CMA backend) for media playback, called
72 // once per media player instance. 71 // once per media player instance.
73 virtual scoped_ptr<media::MediaPipelineBackend> CreateMediaPipelineBackend( 72 virtual scoped_ptr<media::MediaPipelineBackend> CreateMediaPipelineBackend(
74 const media::MediaPipelineDeviceParams& params); 73 const media::MediaPipelineDeviceParams& params);
75 74
76 media::MediaResourceTracker* media_resource_tracker(); 75 media::MediaResourceTracker* media_resource_tracker();
77
78 media::MediaPipelineBackendManager* media_pipeline_backend_manager();
79 #endif 76 #endif
80 77
81 // Invoked when the metrics client ID changes. 78 // Invoked when the metrics client ID changes.
82 virtual void SetMetricsClientId(const std::string& client_id); 79 virtual void SetMetricsClientId(const std::string& client_id);
83 80
84 // Allows registration of extra metrics providers. 81 // Allows registration of extra metrics providers.
85 virtual void RegisterMetricsProviders( 82 virtual void RegisterMetricsProviders(
86 ::metrics::MetricsService* metrics_service); 83 ::metrics::MetricsService* metrics_service);
87 84
88 // Returns whether or not the remote debugging service should be started 85 // Returns whether or not the remote debugging service should be started
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 CastBrowserMainParts* cast_browser_main_parts_; 192 CastBrowserMainParts* cast_browser_main_parts_;
196 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; 193 scoped_ptr<URLRequestContextFactory> url_request_context_factory_;
197 194
198 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 195 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
199 }; 196 };
200 197
201 } // namespace shell 198 } // namespace shell
202 } // namespace chromecast 199 } // namespace chromecast
203 200
204 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 201 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromecast/browser/cast_browser_main_parts.cc ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698