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

Side by Side Diff: chromecast/media/audio/cast_audio_manager_factory.cc

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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chromecast/media/audio/cast_audio_manager_factory.h" 5 #include "chromecast/media/audio/cast_audio_manager_factory.h"
6 6
7 #include "chromecast/media/audio/cast_audio_manager.h" 7 #include "chromecast/media/audio/cast_audio_manager.h"
8 #include "chromecast/media/cma/backend/media_pipeline_backend_manager.h"
9 8
10 namespace chromecast { 9 namespace chromecast {
11 namespace media { 10 namespace media {
12 11
13 CastAudioManagerFactory::CastAudioManagerFactory( 12 CastAudioManagerFactory::CastAudioManagerFactory() {}
14 MediaPipelineBackendManager* backend_manager)
15 : backend_manager_(backend_manager) {
16 }
17 13
18 CastAudioManagerFactory::~CastAudioManagerFactory() {} 14 CastAudioManagerFactory::~CastAudioManagerFactory() {}
19 15
20 ::media::AudioManager* CastAudioManagerFactory::CreateInstance( 16 ::media::AudioManager* CastAudioManagerFactory::CreateInstance(
21 ::media::AudioLogFactory* audio_log_factory) { 17 ::media::AudioLogFactory* audio_log_factory) {
22 return new CastAudioManager(audio_log_factory, backend_manager_); 18 return new CastAudioManager(audio_log_factory);
23 } 19 }
24 20
25 } // namespace media 21 } // namespace media
26 } // namespace chromecast 22 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/media/audio/cast_audio_manager_factory.h ('k') | chromecast/media/audio/cast_audio_output_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698