|
Make AudioDebugFileWriter create its own file worker thread.
Remove the task_runner from AudioDebugFileWriter's constructor and make it
use the new TaskScheduler API.
TaskRunners shouldn't be passed through several components. Instead, the
component that uses a TaskRunner should be the one that creates it.
The main change of this CL is in media/audio/audio_debug_file_writer.h, the
rest is mostly plumbing.
TBR=jam@chromium.org
BUG= 689520
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2885173002
Cr-Commit-Position: refs/heads/master@{#473690}
Committed: https://chromium.googlesource.com/chromium/src/+/4d7742ed008b3b749a757d52f75133dfd5d7f44c
Total comments: 1
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -182 lines) |
Patch |
|
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/audio_input_renderer_host.cc
|
View
|
1
2
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/speech/speech_recognizer_impl.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_file_writer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_file_writer.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_file_writer_unittest.cc
|
View
|
1
2
3
|
8 chunks |
+12 lines, -37 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_recording_helper.h
|
View
|
1
2
3
4
5
|
3 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_recording_helper.cc
|
View
|
1
6
7
8
9
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_recording_helper_unittest.cc
|
View
|
1
|
6 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_recording_manager.h
|
View
|
1
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_recording_manager.cc
|
View
|
1
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_debug_recording_manager_unittest.cc
|
View
|
1
|
3 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_input_controller.h
|
View
|
1
|
4 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_input_controller.cc
|
View
|
1
4
5
|
6 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_input_controller_unittest.cc
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager.h
|
View
|
1
2
3
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager_base.h
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager_base.cc
|
View
|
1
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager_unittest.cc
|
View
|
1
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
|
M |
media/audio/mock_audio_manager.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/mock_audio_manager.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/test_audio_input_controller_factory.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 75 (61 generated)
|