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

Unified Diff: media/audio/test_audio_input_controller_factory.cc

Issue 8818012: Remove the AudioManager singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Set svn eol properties for a couple of files Created 9 years 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
Index: media/audio/test_audio_input_controller_factory.cc
===================================================================
--- media/audio/test_audio_input_controller_factory.cc (revision 114012)
+++ media/audio/test_audio_input_controller_factory.cc (working copy)
@@ -9,9 +9,10 @@
TestAudioInputController::TestAudioInputController(
TestAudioInputControllerFactory* factory,
+ AudioManager* audio_manager,
EventHandler* event_handler,
SyncWriter* sync_writer)
- : AudioInputController(event_handler, sync_writer),
+ : AudioInputController(audio_manager, event_handler, sync_writer),
factory_(factory),
event_handler_(event_handler) {
}
@@ -26,10 +27,12 @@
}
AudioInputController* TestAudioInputControllerFactory::Create(
+ AudioManager* audio_manager,
AudioInputController::EventHandler* event_handler,
AudioParameters params) {
DCHECK(!controller_); // Only one test instance managed at a time.
- controller_ = new TestAudioInputController(this, event_handler, NULL);
+ controller_ = new TestAudioInputController(this, audio_manager,
+ event_handler, NULL);
return controller_;
}
« no previous file with comments | « media/audio/test_audio_input_controller_factory.h ('k') | media/audio/win/audio_low_latency_input_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698