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

Unified Diff: chromecast/media/audio/cast_audio_manager.h

Issue 1385333002: [Chromecast] Cleanup the API for creating MediaPipelineBackend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/media/audio/cast_audio_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/audio/cast_audio_manager.h
diff --git a/chromecast/media/audio/cast_audio_manager.h b/chromecast/media/audio/cast_audio_manager.h
index ff3bc439507632b87026215829298cd1d5a2158d..f2cec7e1d556e0ef6f00e8a4889812546af44d99 100644
--- a/chromecast/media/audio/cast_audio_manager.h
+++ b/chromecast/media/audio/cast_audio_manager.h
@@ -15,6 +15,7 @@ class TaskRunnerImpl;
namespace media {
class MediaPipelineBackend;
+struct MediaPipelineDeviceParams;
class CastAudioManager : public ::media::AudioManagerBase {
public:
@@ -32,7 +33,8 @@ class CastAudioManager : public ::media::AudioManagerBase {
// This must be called on cast media thread.
// See chromecast::media::MediaMessageLoop.
- virtual scoped_ptr<MediaPipelineBackend> CreateMediaPipelineBackend();
+ virtual scoped_ptr<MediaPipelineBackend> CreateMediaPipelineBackend(
+ const MediaPipelineDeviceParams& params);
private:
// AudioManagerBase implementation.
@@ -51,8 +53,6 @@ class CastAudioManager : public ::media::AudioManagerBase {
const std::string& output_device_id,
const ::media::AudioParameters& input_params) override;
- scoped_ptr<TaskRunnerImpl> backend_task_runner_;
-
DISALLOW_COPY_AND_ASSIGN(CastAudioManager);
};
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/media/audio/cast_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698