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

Unified Diff: media/audio/fake_audio_manager.cc

Issue 1901583005: Revert of Pass task runners to AudioManager constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/fake_audio_manager.h ('k') | media/audio/linux/audio_manager_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/fake_audio_manager.cc
diff --git a/media/audio/fake_audio_manager.cc b/media/audio/fake_audio_manager.cc
index a4005e1f0acd041ca99a92dcd4567349b5ca9c10..3d7640144a96cf393d03c4c62fee6d7f16220b4c 100644
--- a/media/audio/fake_audio_manager.cc
+++ b/media/audio/fake_audio_manager.cc
@@ -13,18 +13,10 @@
} // namespace
-FakeAudioManager::FakeAudioManager(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner,
- AudioLogFactory* audio_log_factory)
- : AudioManagerBase(std::move(task_runner),
- std::move(worker_task_runner),
- audio_log_factory) {
- LOG(INFO) << __FUNCTION__;
-}
+FakeAudioManager::FakeAudioManager(AudioLogFactory* audio_log_factory)
+ : AudioManagerBase(audio_log_factory) {}
FakeAudioManager::~FakeAudioManager() {
- LOG(INFO) << __FUNCTION__;
Shutdown();
}
« no previous file with comments | « media/audio/fake_audio_manager.h ('k') | media/audio/linux/audio_manager_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698