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

Unified Diff: media/audio/audio_manager.h

Issue 2885173002: Make AudioDebugFileWriter create its own file worker thread. (Closed)
Patch Set: Remove useless include Created 3 years, 7 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/audio_input_controller_unittest.cc ('k') | media/audio/audio_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 977b3c1e426fce0a6e69534c8e1e3d5d90ffedca..f92651ed0627934de813316751d8b6158b7c66bb 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -54,12 +54,8 @@ class MEDIA_EXPORT AudioManager {
// The manager will use |audio_thread->GetWorkerTaskRunner()| for heavyweight
// tasks. The |audio_thread->GetWorkerTaskRunner()| may be the same as
// |audio_thread->GetTaskRunner()|.
- //
- // |file_task_runner| is used for audio debug recordings and is the task
- // runner to do file output operations on.
static std::unique_ptr<AudioManager> Create(
std::unique_ptr<AudioThread> audio_thread,
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
AudioLogFactory* audio_log_factory);
// A convenience wrapper of AudioManager::Create for testing.
@@ -201,8 +197,7 @@ class MEDIA_EXPORT AudioManager {
// Initializes output debug recording. Can be called on any thread; will post
// to the audio thread if not called on it.
- virtual void InitializeOutputDebugRecording(
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner) = 0;
+ virtual void InitializeOutputDebugRecording() = 0;
// Returns true if the OS reports existence of audio devices. This does not
// guarantee that the existing devices support all formats and sample rates.
« no previous file with comments | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698