| Index: chromecast/browser/cast_content_browser_client.h
|
| diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
|
| index 25ca3f95ac34a82c8fbc32de565c254c316071a4..d76b172c3a5287b381b16778482c2dc77a540a0e 100644
|
| --- a/chromecast/browser/cast_content_browser_client.h
|
| +++ b/chromecast/browser/cast_content_browser_client.h
|
| @@ -33,6 +33,7 @@ namespace chromecast {
|
| namespace media {
|
| class MediaPipelineBackend;
|
| struct MediaPipelineDeviceParams;
|
| +class CmaMediaPipelineClient;
|
| }
|
|
|
| namespace shell {
|
| @@ -60,10 +61,13 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
|
| virtual scoped_ptr<::media::AudioManagerFactory> CreateAudioManagerFactory();
|
|
|
| #if !defined(OS_ANDROID)
|
| - // Creates a MediaPipelineDevice (CMA backend) for media playback, called
|
| - // once per media player instance.
|
| - virtual scoped_ptr<media::MediaPipelineBackend> CreateMediaPipelineBackend(
|
| - const media::MediaPipelineDeviceParams& params);
|
| + // Creates a CmaMediaPipelineClient which is responsible to create (CMA
|
| + // backend)
|
| + // for media playback and watch media pipeline status, called once per media
|
| + // player
|
| + // instance.
|
| + virtual scoped_refptr<media::CmaMediaPipelineClient>
|
| + CreateCmaMediaPipelineClient();
|
| #endif
|
|
|
| // Performs cleanup for process exit (but before AtExitManager cleanup).
|
|
|