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

Unified Diff: media/audio/audio_manager_factory.h

Issue 1806313003: Pass task runners to AudioManager constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass task runners into AudioManager::Create Created 4 years, 9 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
Index: media/audio/audio_manager_factory.h
diff --git a/media/audio/audio_manager_factory.h b/media/audio/audio_manager_factory.h
index 11f1338d0ba596d9af6817ed1b1f2e8bbc955929..938b519d4495adc00fe60c24d6c1e364361eb287 100644
--- a/media/audio/audio_manager_factory.h
+++ b/media/audio/audio_manager_factory.h
@@ -20,7 +20,10 @@ class MEDIA_EXPORT AudioManagerFactory {
// Creates an instance of AudioManager implementation. Caller owns the
// returned instance. |audio_log_factory| must outlive the returned instance.
- virtual AudioManager* CreateInstance(AudioLogFactory* audio_log_factory) = 0;
+ virtual AudioManager* CreateInstance(
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
+ const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner,
+ AudioLogFactory* audio_log_factory) = 0;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698