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

Unified Diff: media/audio/audio_debug_recording_helper.h

Issue 2885173002: Make AudioDebugFileWriter create its own file worker thread. (Closed)
Patch Set: Make AudioDebugFileWriter create its own file thread. 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
Index: media/audio/audio_debug_recording_helper.h
diff --git a/media/audio/audio_debug_recording_helper.h b/media/audio/audio_debug_recording_helper.h
index c5611a4842a4706e7d05087abd08a798add1dc37..f6c5047ebd0d87a0fa3a4abcfbdab39dec9d6a47 100644
--- a/media/audio/audio_debug_recording_helper.h
+++ b/media/audio/audio_debug_recording_helper.h
@@ -53,7 +53,6 @@ class MEDIA_EXPORT AudioDebugRecordingHelper
AudioDebugRecordingHelper(
const AudioParameters& params,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
base::OnceClosure on_destruction_closure);
~AudioDebugRecordingHelper() override;
@@ -76,8 +75,7 @@ class MEDIA_EXPORT AudioDebugRecordingHelper
// Creates an AudioDebugFileWriter. Overridden by test.
virtual std::unique_ptr<AudioDebugFileWriter> CreateAudioDebugFileWriter(
- const AudioParameters& params,
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner);
+ const AudioParameters& params);
const AudioParameters params_;
std::unique_ptr<AudioDebugFileWriter> debug_writer_;

Powered by Google App Engine
This is Rietveld 408576698