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

Unified Diff: media/audio/audio_debug_file_writer.cc

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_debug_file_writer.h ('k') | media/audio/audio_debug_file_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_debug_file_writer.cc
diff --git a/media/audio/audio_debug_file_writer.cc b/media/audio/audio_debug_file_writer.cc
index 583f9433b8198ce6da5e0ca646de771d23f879c0..ba81a5e4f961506941011ebaa91bd855bf785700 100644
--- a/media/audio/audio_debug_file_writer.cc
+++ b/media/audio/audio_debug_file_writer.cc
@@ -300,10 +300,8 @@ void AudioDebugFileWriter::AudioFileWriter::CreateRecordingFile(
<< file_.error_details();
}
-AudioDebugFileWriter::AudioDebugFileWriter(
- const AudioParameters& params,
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner)
- : params_(params), file_task_runner_(std::move(file_task_runner)) {
+AudioDebugFileWriter::AudioDebugFileWriter(const AudioParameters& params)
+ : params_(params) {
client_sequence_checker_.DetachFromSequence();
}
« no previous file with comments | « media/audio/audio_debug_file_writer.h ('k') | media/audio/audio_debug_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698