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

Issue 2582703003: Audio output debug recording. (Closed)

Created:
4 years ago by Henrik Grunell
Modified:
3 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, miu+watch_chromium.org, miu, xjz+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Audio output debug recording. Class diagram: https://docs.google.com/drawings/d/1QQwzUYpEZwB9R4kW5kPuCUxOHWjuJpo_ckaCvFj0MxI/edit?usp=sharing Adds two new classes in media/: * AudioDebugRecordingHelper - wraps an AudioDebugFileWriter and handles data copying and thread hop. * AudioDebugRecordingManager owned by AudioManagerBase and responsible for keeping track of AudioDebugRecordingHelpers and enable/disable on them. Three new functions on AudioManager to initialize, enable and disable. Recordings are enabled/disabled from WebRTCInternals (chrome://webrtc-internals) and AudioDebugRecordingsHandler (from WebRTC logging extension API). BUG=531883 CQ_INCLUDE_TRYBOTS=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/2582703003 Cr-Commit-Position: refs/heads/master@{#454218} Committed: https://chromium.googlesource.com/chromium/src/+/086a4113b499025bdd7db2c19a10bd8cd34a5997

Patch Set 1 #

Total comments: 2

Patch Set 2 : Working (although not ready) implementation for PulseAudio. #

Patch Set 3 : Control through AudioManager. Compiles on Linux, works with PulseAudio. #

Total comments: 28

Patch Set 4 : Code review (dalecurtis@ and maxmorin@). #

Total comments: 19

Patch Set 5 : Changed to record in AudioOutputResampler. #

Total comments: 1

Patch Set 6 : Using callbacks instead. #

Total comments: 9

Patch Set 7 : Reworked callbacks and interfaces. #

Total comments: 14

Patch Set 8 : Code review. #

Total comments: 31

Patch Set 9 : Code review. Rebase. #

Total comments: 29

Patch Set 10 : Code review. #

Total comments: 6

Patch Set 11 : Code review. #

Patch Set 12 : Rebase. #

Total comments: 2

Patch Set 13 : FilePath string type fixes. Rebase. #

Patch Set 14 : Two more fixes. #

Total comments: 4

Patch Set 15 : Code review (pfeldman@/dalecurtis@) and a fix. Rebase. #

Total comments: 2

Patch Set 16 : Changed to initialize recording in AudioManager::Create(). #

Patch Set 17 : Intermediate patch set: rebase after AudioDebugFileWriter move. #

Patch Set 18 : Updates after the AudioDebugFileWriter move. #

Patch Set 19 : Fix in a unit test. Rebase. #

Total comments: 2

Patch Set 20 : Code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1406 lines, -136 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/media/audio_debug_recordings_handler.h View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/media/webrtc/audio_debug_recordings_handler.cc View 1 2 3 4 5 6 7 8 17 18 8 chunks +27 lines, -6 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +136 lines, -88 lines 0 comments Download
M content/browser/webrtc/webrtc_internals.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +22 lines, -1 line 0 comments Download
M media/audio/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +6 lines, -0 lines 0 comments Download
M media/audio/audio_debug_file_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +20 lines, -8 lines 0 comments Download
M media/audio/audio_debug_file_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +11 lines, -6 lines 0 comments Download
M media/audio/audio_debug_file_writer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +10 lines, -3 lines 0 comments Download
A media/audio/audio_debug_recording_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +104 lines, -0 lines 0 comments Download
A media/audio/audio_debug_recording_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +96 lines, -0 lines 0 comments Download
A media/audio/audio_debug_recording_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +258 lines, -0 lines 0 comments Download
A media/audio/audio_debug_recording_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +126 lines, -0 lines 0 comments Download
A media/audio/audio_debug_recording_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +118 lines, -0 lines 0 comments Download
A media/audio/audio_debug_recording_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +228 lines, -0 lines 0 comments Download
M media/audio/audio_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +22 lines, -0 lines 0 comments Download
M media/audio/audio_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -3 lines 0 comments Download
M media/audio/audio_manager_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +17 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +57 lines, -3 lines 0 comments Download
M media/audio/audio_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +55 lines, -0 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -1 line 0 comments Download
M media/audio/audio_output_resampler.h View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -1 line 0 comments Download
M media/audio/audio_output_resampler.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +31 lines, -10 lines 0 comments Download
M media/audio/mock_audio_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -0 lines 0 comments Download
M media/audio/mock_audio_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 134 (60 generated)
Henrik Grunell
Dale: this is my proposal of adding audio output debug recording, just outlined now for ...
4 years ago (2016-12-16 14:12:59 UTC) #4
Henrik Grunell
Olga and Max, ptal. If we want to avoid adding the enable/disable functions to the ...
4 years ago (2016-12-19 09:04:50 UTC) #7
Max Morin
-R wrong Dale, +R right Dale
4 years ago (2016-12-19 09:08:28 UTC) #9
o1ka
On 2016/12/19 09:04:50, Henrik Grunell wrote: > Olga and Max, ptal. > > If we ...
4 years ago (2016-12-19 09:23:27 UTC) #10
Max Morin
On 2016/12/19 09:23:27, o1ka OOO Dec 23 - Jan 3 wrote: > On 2016/12/19 09:04:50, ...
4 years ago (2016-12-20 08:35:27 UTC) #11
DaleCurtis
Do all these layers need to know about this or should we just have an ...
4 years ago (2016-12-20 17:26:47 UTC) #12
Henrik Grunell
On 2016/12/20 17:26:47, DaleCurtis_OOO_Dec14_Jan6 wrote: > Do all these layers need to know about this ...
4 years ago (2016-12-21 12:37:12 UTC) #13
Max Morin
On 2016/12/20 08:35:27, Max Morin OOO 22 Dec - 9 Jan wrote: > On 2016/12/19 ...
4 years ago (2016-12-21 13:01:19 UTC) #14
Henrik Grunell
On 2016/12/21 13:01:19, Max Morin OOO 22 Dec - 9 Jan wrote: > On 2016/12/20 ...
4 years ago (2016-12-21 13:22:40 UTC) #15
Henrik Grunell
I've uploaded a new patch set. It's a poc implementation for PulseAudio, but there are ...
4 years ago (2016-12-21 13:29:08 UTC) #16
o1ka
On 2016/12/21 13:29:08, Henrik Grunell OOO back Jan 10 wrote: > I've uploaded a new ...
4 years ago (2016-12-22 11:32:34 UTC) #17
Max Morin
Sure, bypassing all the layers and controlling debug recording through AM makes sense. It won't ...
3 years, 11 months ago (2017-01-09 13:29:55 UTC) #18
Henrik Grunell
On 2017/01/09 13:29:55, Max Morin wrote: > Sure, bypassing all the layers and controlling debug ...
3 years, 11 months ago (2017-01-11 13:32:33 UTC) #19
Henrik Grunell
On 2017/01/11 13:32:33, Henrik Grunell wrote: > On 2017/01/09 13:29:55, Max Morin wrote: > > ...
3 years, 11 months ago (2017-01-11 14:02:33 UTC) #20
Henrik Grunell
Now controlling output debug recording through AudioManager. Ptal. Remaining: * Decide on filename. Discussion ongoing ...
3 years, 11 months ago (2017-01-19 13:18:26 UTC) #22
DaleCurtis
Went through about half so far. https://codereview.chromium.org/2582703003/diff/60001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc File chrome/browser/media/webrtc/audio_debug_recordings_handler.cc (right): https://codereview.chromium.org/2582703003/diff/60001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc#newcode112 chrome/browser/media/webrtc/audio_debug_recordings_handler.cc:112: media::AudioManager::Get()->GetTaskRunner()->PostTask( Just call ...
3 years, 11 months ago (2017-01-19 17:44:34 UTC) #23
Henrik Grunell
Thanks Dale. One reply to the interface comment. https://codereview.chromium.org/2582703003/diff/60001/media/audio/audio_io.h File media/audio/audio_io.h (right): https://codereview.chromium.org/2582703003/diff/60001/media/audio/audio_io.h#newcode110 media/audio/audio_io.h:110: // ...
3 years, 11 months ago (2017-01-19 20:32:39 UTC) #24
DaleCurtis
https://codereview.chromium.org/2582703003/diff/60001/media/audio/audio_io.h File media/audio/audio_io.h (right): https://codereview.chromium.org/2582703003/diff/60001/media/audio/audio_io.h#newcode110 media/audio/audio_io.h:110: // Enable debug recording. A file type extension is ...
3 years, 11 months ago (2017-01-19 22:37:29 UTC) #25
Max Morin
Just some minor comments. WDYT about landing support for (e.g.) pulse only in this CL, ...
3 years, 11 months ago (2017-01-20 07:49:09 UTC) #26
Henrik Grunell
https://codereview.chromium.org/2582703003/diff/60001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc File chrome/browser/media/webrtc/audio_debug_recordings_handler.cc (right): https://codereview.chromium.org/2582703003/diff/60001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc#newcode112 chrome/browser/media/webrtc/audio_debug_recordings_handler.cc:112: media::AudioManager::Get()->GetTaskRunner()->PostTask( On 2017/01/19 17:44:33, DaleCurtis wrote: > Just call ...
3 years, 11 months ago (2017-01-20 10:38:56 UTC) #27
o1ka
https://codereview.chromium.org/2582703003/diff/80001/content/browser/renderer_host/media/audio_debug_file_writer.cc File content/browser/renderer_host/media/audio_debug_file_writer.cc (left): https://codereview.chromium.org/2582703003/diff/80001/content/browser/renderer_host/media/audio_debug_file_writer.cc#oldcode190 content/browser/renderer_host/media/audio_debug_file_writer.cc:190: DCHECK_EQ(params.bits_per_sample(), kBytesPerSample * 8); Have you fixed the logic ...
3 years, 11 months ago (2017-01-20 11:36:26 UTC) #28
DaleCurtis
Defer to your team on the decision, but I think AOR would simplify and provide ...
3 years, 11 months ago (2017-01-20 17:52:20 UTC) #29
Henrik Grunell
On 2017/01/20 17:52:20, DaleCurtis wrote: > Defer to your team on the decision, but I ...
3 years, 11 months ago (2017-01-23 16:58:46 UTC) #31
DaleCurtis
https://codereview.chromium.org/2582703003/diff/120001/media/audio/audio_output_resampler.h File media/audio/audio_output_resampler.h (right): https://codereview.chromium.org/2582703003/diff/120001/media/audio/audio_output_resampler.h#newcode51 media/audio/audio_output_resampler.h:51: // Controls debug recording. It seems like this should ...
3 years, 11 months ago (2017-01-24 01:12:03 UTC) #32
Henrik Grunell
Now using callbacks instead. I use register and unregister callbacks apart from the data callback ...
3 years, 11 months ago (2017-01-25 11:50:49 UTC) #33
o1ka
Sorry, I find the current version a bit complicated - very difficult to read and ...
3 years, 11 months ago (2017-01-25 17:47:00 UTC) #34
Henrik Grunell
Awesome - I had the exact same concerns yesterday evening at home in retrospect. Move ...
3 years, 11 months ago (2017-01-26 10:25:09 UTC) #35
Henrik Grunell
Dale: ptal. I've reworked the callbacks and interfaces. There's only a register callback now, passed ...
3 years, 11 months ago (2017-01-26 16:07:24 UTC) #36
Max Morin
With risk of sounding like Olga: I think a diagram would help (displaying relations between ...
3 years, 11 months ago (2017-01-26 17:49:43 UTC) #37
DaleCurtis
Overall looks reasonable aside from the new constructor argument. I leave the specifics of the ...
3 years, 11 months ago (2017-01-26 17:53:18 UTC) #38
Henrik Grunell
I could write a diagram, that's probably useful. https://codereview.chromium.org/2582703003/diff/160001/media/audio/audio_manager.h File media/audio/audio_manager.h (right): https://codereview.chromium.org/2582703003/diff/160001/media/audio/audio_manager.h#newcode68 media/audio/audio_manager.h:68: CreateAudioFileWriterCallback ...
3 years, 11 months ago (2017-01-26 19:56:22 UTC) #39
DaleCurtis
https://codereview.chromium.org/2582703003/diff/160001/media/audio/audio_manager.h File media/audio/audio_manager.h (right): https://codereview.chromium.org/2582703003/diff/160001/media/audio/audio_manager.h#newcode68 media/audio/audio_manager.h:68: CreateAudioFileWriterCallback create_audio_file_writer_callback); On 2017/01/26 at 19:56:22, Henrik Grunell wrote: ...
3 years, 11 months ago (2017-01-26 20:00:13 UTC) #40
o1ka
https://codereview.chromium.org/2582703003/diff/160001/media/audio/audio_debug_recording_manager.cc File media/audio/audio_debug_recording_manager.cc (right): https://codereview.chromium.org/2582703003/diff/160001/media/audio/audio_debug_recording_manager.cc#newcode94 media/audio/audio_debug_recording_manager.cc:94: it->second->DisableDebugRecording(); The code implies that the helper is still ...
3 years, 10 months ago (2017-01-27 09:25:26 UTC) #41
Henrik Grunell
New patch set. * Removed the argument in AudioManager ctor. Initialize function instead - see ...
3 years, 10 months ago (2017-01-27 16:07:23 UTC) #42
DaleCurtis
api surface lgtm, defer to olka for formal review.
3 years, 10 months ago (2017-01-27 21:10:13 UTC) #43
Max Morin
https://codereview.chromium.org/2582703003/diff/180001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc File chrome/browser/media/webrtc/audio_debug_recordings_handler.cc (right): https://codereview.chromium.org/2582703003/diff/180001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc#newcode112 chrome/browser/media/webrtc/audio_debug_recordings_handler.cc:112: media::AudioManager* audio_manager = media::AudioManager::Get(); The AudioManager::Get() pointer is nulled ...
3 years, 10 months ago (2017-01-30 10:24:02 UTC) #44
Henrik Grunell
Olga, please review also. https://codereview.chromium.org/2582703003/diff/180001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc File chrome/browser/media/webrtc/audio_debug_recordings_handler.cc (right): https://codereview.chromium.org/2582703003/diff/180001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc#newcode112 chrome/browser/media/webrtc/audio_debug_recordings_handler.cc:112: media::AudioManager* audio_manager = media::AudioManager::Get(); On ...
3 years, 10 months ago (2017-01-30 14:11:26 UTC) #45
o1ka
https://codereview.chromium.org/2582703003/diff/180001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc File chrome/browser/media/webrtc/audio_debug_recordings_handler.cc (right): https://codereview.chromium.org/2582703003/diff/180001/chrome/browser/media/webrtc/audio_debug_recordings_handler.cc#newcode111 chrome/browser/media/webrtc/audio_debug_recordings_handler.cc:111: // this object, so it's safe to post unretained. ...
3 years, 10 months ago (2017-01-31 11:00:11 UTC) #46
Henrik Grunell
* Wrote two unit tests. * Updated and improved one browser test. * Code review ...
3 years, 10 months ago (2017-02-08 11:29:38 UTC) #48
Max Morin
lgtm with comments addressed. https://codereview.chromium.org/2582703003/diff/220001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2582703003/diff/220001/content/browser/browser_main_loop.cc#newcode1809 content/browser/browser_main_loop.cc:1809: base::BindRepeating(&AudioDebugFileWriter::Create))); Just use base::MakeUnique<media::AudioFileWriter>, then ...
3 years, 10 months ago (2017-02-09 09:47:27 UTC) #49
Henrik Grunell
Updated CL description and added link to class diagram.
3 years, 10 months ago (2017-02-09 12:02:51 UTC) #52
o1ka
Good job with updating the tests! https://codereview.chromium.org/2582703003/diff/220001/content/browser/renderer_host/media/audio_debug_file_writer.cc File content/browser/renderer_host/media/audio_debug_file_writer.cc (right): https://codereview.chromium.org/2582703003/diff/220001/content/browser/renderer_host/media/audio_debug_file_writer.cc#newcode315 content/browser/renderer_host/media/audio_debug_file_writer.cc:315: std::string AudioDebugFileWriter::GetExtension() { ...
3 years, 10 months ago (2017-02-09 13:04:03 UTC) #53
Henrik Grunell
Code review fixes. Added test case for new functions in AudioManager. https://codereview.chromium.org/2582703003/diff/220001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): ...
3 years, 10 months ago (2017-02-10 09:00:56 UTC) #58
Henrik Grunell
And thanks for the thorough review!
3 years, 10 months ago (2017-02-10 09:01:43 UTC) #59
o1ka
lgtm with comments addressed. https://codereview.chromium.org/2582703003/diff/220001/media/audio/audio_debug_recording_manager.cc File media/audio/audio_debug_recording_manager.cc (right): https://codereview.chromium.org/2582703003/diff/220001/media/audio/audio_debug_recording_manager.cc#newcode85 media/audio/audio_debug_recording_manager.cc:85: &AudioDebugRecordingManager::UnregisterDebugRecordingSource, On 2017/02/10 09:00:56, Henrik ...
3 years, 10 months ago (2017-02-10 15:21:53 UTC) #60
Henrik Grunell
Adding owner reviewers: guidou@: content/browser/webrtc/* (olka@ has lgtm'd these so feel free to rubber stamp) ...
3 years, 10 months ago (2017-02-13 09:04:30 UTC) #62
Henrik Grunell
Fixed olka@'s final comments. (Feel free to read the added code comments.) https://codereview.chromium.org/2582703003/diff/220001/media/audio/audio_debug_recording_manager.cc File media/audio/audio_debug_recording_manager.cc ...
3 years, 10 months ago (2017-02-13 15:16:48 UTC) #63
Guido Urdaneta
content/browser/renderer_host/media/ and content/browser/webrtc lgtm % comment.
3 years, 10 months ago (2017-02-14 10:03:18 UTC) #72
Guido Urdaneta
https://codereview.chromium.org/2582703003/diff/280001/content/browser/renderer_host/media/audio_debug_file_writer.h File content/browser/renderer_host/media/audio_debug_file_writer.h (right): https://codereview.chromium.org/2582703003/diff/280001/content/browser/renderer_host/media/audio_debug_file_writer.h#newcode33 content/browser/renderer_host/media/audio_debug_file_writer.h:33: explicit AudioDebugFileWriter(const media::AudioParameters& params); Should this constructor become private?
3 years, 10 months ago (2017-02-14 10:03:42 UTC) #73
Henrik Grunell
https://codereview.chromium.org/2582703003/diff/280001/content/browser/renderer_host/media/audio_debug_file_writer.h File content/browser/renderer_host/media/audio_debug_file_writer.h (right): https://codereview.chromium.org/2582703003/diff/280001/content/browser/renderer_host/media/audio_debug_file_writer.h#newcode33 content/browser/renderer_host/media/audio_debug_file_writer.h:33: explicit AudioDebugFileWriter(const media::AudioParameters& params); On 2017/02/14 10:03:42, Guido Urdaneta ...
3 years, 10 months ago (2017-02-14 11:24:22 UTC) #74
Henrik Grunell
I changed AudioManager::GetFileNameExtension() to return const base::FilePath::CharType* instead of char* so that it plays well ...
3 years, 10 months ago (2017-02-14 11:31:53 UTC) #75
Henrik Grunell
On 2017/02/14 11:31:53, Henrik Grunell wrote: > I changed AudioManager::GetFileNameExtension() to return const > base::FilePath::CharType* ...
3 years, 10 months ago (2017-02-14 13:41:12 UTC) #83
pfeldman
https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc#newcode1802 content/browser/browser_main_loop.cc:1802: audio_manager_->GetTaskRunner()->PostTask( Why is this here, but not in the ...
3 years, 10 months ago (2017-02-14 19:44:28 UTC) #86
Henrik Grunell
https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc#newcode1802 content/browser/browser_main_loop.cc:1802: audio_manager_->GetTaskRunner()->PostTask( On 2017/02/14 19:44:28, pfeldman wrote: > Why is ...
3 years, 10 months ago (2017-02-14 20:22:17 UTC) #87
DaleCurtis
https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc#newcode1802 content/browser/browser_main_loop.cc:1802: audio_manager_->GetTaskRunner()->PostTask( On 2017/02/14 at 20:22:17, Henrik Grunell wrote: > ...
3 years, 10 months ago (2017-02-14 20:30:29 UTC) #88
Henrik Grunell
Addressed comment, made a fix, and rebased. Olga: ptal now too. https://codereview.chromium.org/2582703003/diff/320001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): ...
3 years, 10 months ago (2017-02-15 11:45:11 UTC) #91
o1ka
lgtm https://codereview.chromium.org/2582703003/diff/360001/media/audio/audio_manager_base.cc File media/audio/audio_manager_base.cc (right): https://codereview.chromium.org/2582703003/diff/360001/media/audio/audio_manager_base.cc#newcode458 media/audio/audio_manager_base.cc:458: base::Unretained(this), create_audio_file_writer_callback)); move the callback?
3 years, 10 months ago (2017-02-15 14:13:12 UTC) #94
pfeldman
I'm still uncomfortable with your making content/browser/browser_main_loop.cc aware of media's internal business. What is happening ...
3 years, 10 months ago (2017-02-15 22:29:21 UTC) #95
Henrik Grunell
On 2017/02/15 22:29:21, pfeldman wrote: > I'm still uncomfortable with your making content/browser/browser_main_loop.cc > aware ...
3 years, 10 months ago (2017-02-16 11:18:00 UTC) #97
Henrik Grunell
https://codereview.chromium.org/2582703003/diff/360001/media/audio/audio_manager_base.cc File media/audio/audio_manager_base.cc (right): https://codereview.chromium.org/2582703003/diff/360001/media/audio/audio_manager_base.cc#newcode458 media/audio/audio_manager_base.cc:458: base::Unretained(this), create_audio_file_writer_callback)); On 2017/02/15 14:13:12, o1ka wrote: > move ...
3 years, 10 months ago (2017-02-16 11:45:09 UTC) #98
pfeldman
> I wrote the alternative, calling initialize in AudioManager::Create(). Patch set > 16. > > ...
3 years, 10 months ago (2017-02-16 21:30:03 UTC) #99
Henrik Grunell
On 2017/02/16 21:30:03, pfeldman wrote: > > I wrote the alternative, calling initialize in AudioManager::Create(). ...
3 years, 10 months ago (2017-02-17 08:58:14 UTC) #100
DaleCurtis
If you can pass the file_task_runner in that's probably fine. I thought you needed to ...
3 years, 10 months ago (2017-02-17 18:10:24 UTC) #101
Henrik Grunell
On 2017/02/17 18:10:24, DaleCurtis wrote: > If you can pass the file_task_runner in that's probably ...
3 years, 10 months ago (2017-02-20 15:48:14 UTC) #102
Henrik Grunell
AudioDebugFileWriter has been moved from content/ to media/ in another CL. I have rebased and ...
3 years, 9 months ago (2017-02-27 14:59:20 UTC) #104
pfeldman
content/browser/browser_main_loop.cc lgtm
3 years, 9 months ago (2017-02-27 17:27:34 UTC) #111
Henrik Grunell
On 2017/02/27 14:59:20, Henrik Grunell OOO back Mar 2 wrote: > AudioDebugFileWriter has been moved ...
3 years, 9 months ago (2017-03-01 11:07:19 UTC) #118
o1ka
lgtm https://codereview.chromium.org/2582703003/diff/500001/media/audio/audio_debug_file_writer.h File media/audio/audio_debug_file_writer.h (right): https://codereview.chromium.org/2582703003/diff/500001/media/audio/audio_debug_file_writer.h#newcode35 media/audio/audio_debug_file_writer.h:35: virtual ~AudioDebugFileWriter(); It's inheritable for mocking only, right? ...
3 years, 9 months ago (2017-03-01 18:36:23 UTC) #119
Henrik Grunell
Dale: friendly ping to review this again as well. https://codereview.chromium.org/2582703003/diff/500001/media/audio/audio_debug_file_writer.h File media/audio/audio_debug_file_writer.h (right): https://codereview.chromium.org/2582703003/diff/500001/media/audio/audio_debug_file_writer.h#newcode35 media/audio/audio_debug_file_writer.h:35: ...
3 years, 9 months ago (2017-03-01 19:52:54 UTC) #120
Henrik Grunell
On 2017/03/01 19:52:54, Henrik Grunell wrote: > Dale: friendly ping to review this again as ...
3 years, 9 months ago (2017-03-02 09:17:55 UTC) #125
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2582703003/520001
3 years, 9 months ago (2017-03-02 09:18:39 UTC) #128
commit-bot: I haz the power
Committed patchset #20 (id:520001) as https://chromium.googlesource.com/chromium/src/+/086a4113b499025bdd7db2c19a10bd8cd34a5997
3 years, 9 months ago (2017-03-02 09:23:56 UTC) #131
DaleCurtis
Whoops, sorry I missed your pings. Feel free to send me a direct e-mail or ...
3 years, 9 months ago (2017-03-02 17:27:41 UTC) #133
Henrik Grunell
3 years, 9 months ago (2017-03-03 08:02:44 UTC) #134
Message was sent while issue was closed.
On 2017/03/02 17:27:41, DaleCurtis wrote:
> Whoops, sorry I missed your pings. Feel free to send me a direct e-mail or
chat
> if I don't respond in 24 hours. In any case, I had been following along, just
> thought my previous approval was fine. So lgtm!

OK, cool.

Powered by Google App Engine
This is Rietveld 408576698