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

Issue 2443573003: Factor out AudioOutputDelegate from AudioRendererHost. (Closed)

Created:
4 years, 2 months ago by Max Morin
Modified:
4 years ago
CC:
audio-mojo-cl_google.com, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, miu+watch_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Factor out AudioOutputDelegate from AudioRendererHost. This change moves logic related to IPC requests regarding a single stream into its own class. This prepares for adding a mojo alternative to ARH. The mojo implementation will have a separate interface for an audio stream, which makes it very reasonable to have a class responsible for handling requests to a stream. This change also slims down ARH, so that it's easier to replace. Reference for mojofication work: https://docs.google.com/document/d/1PjV_EutyJANmsEjhH9mTNZWSslTPvAit7Cy2RO3cbmk/edit, in particular the diagram https://docs.google.com/drawings/d/1xg6z2FwLdTe5eG-Nvek9q-IfWzMI01XxlbVH3y0mzAE/edit. BUG=656923 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel,linux_chromium_msan_rel_ng,linux_chromium_chromeos_asan_rel_ng,linux_chromium_chromeos_msan_rel_ng,linux_chromium_tsan_rel_ng,linux_chromium_ubsan_rel_ng;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel,mac_chromium_asan_rel_ng;master.tryserver.chromium.win:win_optional_gpu_tests_rel,win_chromium_syzyasan_rel Committed: https://crrev.com/65f77fb7054d31082b55e7385617c819f31902ec Cr-Commit-Position: refs/heads/master@{#436278}

Patch Set 1 #

Patch Set 2 : Small fixes #

Patch Set 3 : Simplify. #

Total comments: 10

Patch Set 4 : Fix comments. #

Patch Set 5 : Improve AudioOutputController comment. #

Total comments: 9

Patch Set 6 : More comments. #

Total comments: 2

Patch Set 7 : Change iterator. #

Total comments: 8

Patch Set 8 : Add AudioOutputDelegate::Deleter. #

Total comments: 34

Patch Set 9 : Small fixes. #

Patch Set 10 : . #

Patch Set 11 : Remove the loop when shutting down ARH. Unit tests. #

Patch Set 12 : Remove [&] from lambda. #

Total comments: 36

Patch Set 13 : Rebase. Comments. #

Total comments: 40

Patch Set 14 : . #

Total comments: 10

Patch Set 15 : . #

Total comments: 63

Patch Set 16 : . #

Patch Set 17 : . #

Total comments: 9

Patch Set 18 : Add AudioDeviceThread. Other fixes. #

Patch Set 19 : . #

Total comments: 3

Patch Set 20 : . #

Total comments: 1

Patch Set 21 : \n #

Patch Set 22 : Mac compile. #

Total comments: 10

Patch Set 23 : Final comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1162 lines, -398 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +4 lines, -0 lines 0 comments Download
A content/browser/audio_device_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +36 lines, -0 lines 0 comments Download
A content/browser/audio_device_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +28 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -1 line 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 19 20 21 22 2 chunks +5 lines, -19 lines 0 comments Download
M content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +6 lines, -19 lines 0 comments Download
A content/browser/renderer_host/media/audio_output_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +145 lines, -0 lines 0 comments Download
A content/browser/renderer_host/media/audio_output_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +190 lines, -0 lines 0 comments Download
A content/browser/renderer_host/media/audio_output_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +589 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 7 chunks +30 lines, -47 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 15 chunks +68 lines, -253 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +14 lines, -17 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/audio_output_controller.h View 1 2 3 4 5 6 7 8 9 10 13 14 15 16 17 3 chunks +10 lines, -9 lines 0 comments Download
M media/audio/audio_output_controller.cc View 1 2 3 4 5 6 7 8 9 10 13 14 15 16 17 5 chunks +6 lines, -6 lines 0 comments Download
M media/audio/audio_output_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +20 lines, -21 lines 0 comments Download
M media/audio/audio_streams_tracker.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_streams_tracker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 72 (22 generated)
Max Morin
Olga: Could you take a look at this before I fix all the tests?
4 years, 1 month ago (2016-10-25 08:21:40 UTC) #3
Max Morin
On 2016/10/25 08:21:40, Max Morin Chromium wrote: > Olga: Could you take a look at ...
4 years, 1 month ago (2016-10-25 09:43:31 UTC) #4
o1ka
https://codereview.chromium.org/2443573003/diff/40001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/40001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode38 content/browser/renderer_host/media/audio_output_delegate.cc:38: audio_log_(audio_log), It's probably fine to have an individual audio_log ...
4 years, 1 month ago (2016-10-25 12:32:34 UTC) #5
o1ka
https://codereview.chromium.org/2443573003/diff/80001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/80001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode74 content/browser/renderer_host/media/audio_output_delegate.cc:74: weak_factory_.InvalidateWeakPtrs(); Why do you want to do it at ...
4 years, 1 month ago (2016-10-25 15:59:41 UTC) #6
Max Morin
PTAL https://codereview.chromium.org/2443573003/diff/40001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/40001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode38 content/browser/renderer_host/media/audio_output_delegate.cc:38: audio_log_(audio_log), On 2016/10/25 12:32:34, o1ka wrote: > It's ...
4 years, 1 month ago (2016-10-26 09:20:18 UTC) #7
Max Morin
https://codereview.chromium.org/2443573003/diff/100001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/2443573003/diff/100001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode476 content/browser/renderer_host/media/audio_renderer_host.cc:476: std::unique_ptr<AudioOutputDelegate> delegate = std::move(*i); *i should be delegates_.back(), of ...
4 years, 1 month ago (2016-10-26 09:50:45 UTC) #8
Max Morin
On 2016/10/26 09:50:45, Max Morin Chromium wrote: > https://codereview.chromium.org/2443573003/diff/100001/content/browser/renderer_host/media/audio_renderer_host.cc > File content/browser/renderer_host/media/audio_renderer_host.cc (right): > > ...
4 years, 1 month ago (2016-10-26 12:43:25 UTC) #9
o1ka
https://codereview.chromium.org/2443573003/diff/100001/content/browser/renderer_host/media/audio_output_delegate.h File content/browser/renderer_host/media/audio_output_delegate.h (right): https://codereview.chromium.org/2443573003/diff/100001/content/browser/renderer_host/media/audio_output_delegate.h#newcode51 content/browser/renderer_host/media/audio_output_delegate.h:51: const scoped_refptr<media::AudioOutputController>& controller() const { add a comment that ...
4 years, 1 month ago (2016-10-26 13:11:48 UTC) #10
Max Morin
PTAL
4 years, 1 month ago (2016-10-26 13:39:59 UTC) #11
o1ka
https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode31 content/browser/renderer_host/media/audio_output_delegate.cc:31: media::AudioOutputController::Create(media::AudioManager::Get(), We need to figure out and state here ...
4 years, 1 month ago (2016-10-27 09:52:39 UTC) #12
o1ka
https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode47 content/browser/renderer_host/media/audio_output_delegate.cc:47: MediaInternals::GetInstance()->SetWebContentsTitleForAudioLogEntry( Would be nice to avoid dependency on MediaInternals ...
4 years, 1 month ago (2016-10-27 12:59:52 UTC) #13
Max Morin
Still thinking about the dependency on MediaInternals. https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode31 content/browser/renderer_host/media/audio_output_delegate.cc:31: media::AudioOutputController::Create(media::AudioManager::Get(), On ...
4 years, 1 month ago (2016-10-27 15:04:38 UTC) #14
o1ka
https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode62 content/browser/renderer_host/media/audio_output_delegate.cc:62: delegate->UpdatePlayingStateForHandler(false); It will call handler_->OnStreamStateChange, and this is not ...
4 years, 1 month ago (2016-10-28 09:13:23 UTC) #15
Max Morin
https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode42 content/browser/renderer_host/media/audio_output_delegate.cc:42: media_observer->OnCreatingAudioStream(render_process_id_, render_frame_id_); On 2016/10/27 09:52:38, o1ka wrote: > We ...
4 years, 1 month ago (2016-10-28 14:55:47 UTC) #16
Max Morin
Now with tests. PTAL. https://codereview.chromium.org/2443573003/diff/80001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/2443573003/diff/80001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode175 content/browser/renderer_host/media/audio_renderer_host.cc:175: OnCloseStream(delegates_[0]->stream_id()); On 2016/10/26 09:20:18, Max ...
4 years, 1 month ago (2016-11-02 15:33:53 UTC) #17
o1ka
https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/140001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode62 content/browser/renderer_host/media/audio_output_delegate.cc:62: delegate->UpdatePlayingStateForHandler(false); On 2016/10/28 14:55:47, Max Morin Chromium wrote: > ...
4 years, 1 month ago (2016-11-03 13:39:12 UTC) #19
Max Morin
PTAL https://codereview.chromium.org/2443573003/diff/220001/content/browser/BUILD.gn File content/browser/BUILD.gn (right): https://codereview.chromium.org/2443573003/diff/220001/content/browser/BUILD.gn#newcode1 content/browser/BUILD.gn:1: # Copyright 2014 The Chromium Authors. All rights ...
4 years, 1 month ago (2016-11-18 16:03:43 UTC) #23
o1ka
Very nice! https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode43 content/browser/renderer_host/media/audio_output_delegate.cc:43: if (media_observer) Do it in Create() instead? ...
4 years, 1 month ago (2016-11-22 13:24:04 UTC) #24
Max Morin
https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode43 content/browser/renderer_host/media/audio_output_delegate.cc:43: if (media_observer) On 2016/11/22 13:24:03, o1ka wrote: > Do ...
4 years, 1 month ago (2016-11-22 16:04:29 UTC) #25
o1ka
https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode45 content/browser/renderer_host/media/audio_output_delegate.cc:45: if (mirroring_manager_) On 2016/11/22 16:04:29, Max Morin Chromium wrote: ...
4 years ago (2016-11-22 21:48:17 UTC) #26
Max Morin
https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/240001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode45 content/browser/renderer_host/media/audio_output_delegate.cc:45: if (mirroring_manager_) On 2016/11/22 21:48:16, o1ka wrote: > On ...
4 years ago (2016-11-25 15:32:36 UTC) #27
Max Morin
I also checked what it would take to test AudioStreamMonitor. Setting up fake webcontents et ...
4 years ago (2016-11-25 15:51:39 UTC) #28
Max Morin
Ping!
4 years ago (2016-11-29 09:10:13 UTC) #29
Max Morin
Dale, Miu: PTAL at this refactoring. Sorry for the large CL, at least most of ...
4 years ago (2016-11-29 13:53:37 UTC) #32
DaleCurtis
Overall looking great, thanks for the cleanup! https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode28 content/browser/renderer_host/media/audio_output_delegate.cc:28: controller_(media::AudioOutputController::Create(audio_manager, This ...
4 years ago (2016-11-29 20:31:24 UTC) #33
miu
My "addendum" to Dale's comments (on PS15): https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode55 content/browser/renderer_host/media/audio_output_delegate.cc:55: On 2016/11/29 ...
4 years ago (2016-11-29 21:36:28 UTC) #34
miu
On 2016/11/29 13:53:37, Max Morin Chromium wrote: > A specific question: The old code had ...
4 years ago (2016-11-29 21:37:20 UTC) #35
Max Morin
Thanks for all the comments! PTAL. Dale: is there a reason for SetWebContentsTitleForAudioLogEntry to be ...
4 years ago (2016-12-01 16:08:37 UTC) #36
DaleCurtis
lgtm % some minor changes. https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate.h File content/browser/renderer_host/media/audio_output_delegate.h (right): https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate.h#newcode56 content/browser/renderer_host/media/audio_output_delegate.h:56: using UniquePtr = std::unique_ptr<AudioOutputDelegate, ...
4 years ago (2016-12-01 19:33:07 UTC) #37
Max Morin
https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate_unittest.cc File content/browser/renderer_host/media/audio_output_delegate_unittest.cc (right): https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_output_delegate_unittest.cc#newcode110 content/browser/renderer_host/media/audio_output_delegate_unittest.cc:110: // Audio manager creation stolen from content/browser/browser_main_loop.cc. On 2016/12/01 ...
4 years ago (2016-12-02 12:07:37 UTC) #38
o1ka
Great job! lgtm https://codereview.chromium.org/2443573003/diff/360001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2443573003/diff/360001/content/browser/browser_main_loop.cc#newcode1614 content/browser/browser_main_loop.cc:1614: audio_manager_ = media::AudioManager::Create( nice! https://codereview.chromium.org/2443573003/diff/360001/content/browser/renderer_host/media/audio_output_delegate.cc File ...
4 years ago (2016-12-02 13:01:47 UTC) #39
Max Morin
Thanks! Avi: PTAL at contents/ except contents/browser/renderer_host/media/. https://codereview.chromium.org/2443573003/diff/360001/content/browser/renderer_host/media/audio_output_delegate.cc File content/browser/renderer_host/media/audio_output_delegate.cc (right): https://codereview.chromium.org/2443573003/diff/360001/content/browser/renderer_host/media/audio_output_delegate.cc#newcode62 content/browser/renderer_host/media/audio_output_delegate.cc:62: // The ...
4 years ago (2016-12-02 14:57:51 UTC) #41
Avi (use Gerrit)
LGTM https://codereview.chromium.org/2443573003/diff/380001/content/browser/audio_device_thread.h File content/browser/audio_device_thread.h (right): https://codereview.chromium.org/2443573003/diff/380001/content/browser/audio_device_thread.h#newcode4 content/browser/audio_device_thread.h:4: #ifndef CONTENT_BROWSER_AUDIO_DEVICE_THREAD_H_ blank line above
4 years ago (2016-12-02 15:27:49 UTC) #48
DaleCurtis
Still lgtm, just some minor comments in addition to avi's. https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/2443573003/diff/280001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode431 ...
4 years ago (2016-12-02 18:20:14 UTC) #50
Max Morin
https://codereview.chromium.org/2443573003/diff/420001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2443573003/diff/420001/content/browser/browser_main_loop.cc#newcode1615 content/browser/browser_main_loop.cc:1615: audio_thread_->task_runner(), audio_thread_->worker_task_runner(), On 2016/12/02 18:20:13, DaleCurtis wrote: > Do ...
4 years ago (2016-12-02 20:37:43 UTC) #51
miu
PS22 lgtm, assuming other reviewer's nit and the following are addressed: https://codereview.chromium.org/2443573003/diff/420001/content/browser/renderer_host/media/audio_output_delegate.h File content/browser/renderer_host/media/audio_output_delegate.h (right): ...
4 years ago (2016-12-02 22:57:58 UTC) #52
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/2443573003/440001
4 years ago (2016-12-05 08:48:28 UTC) #55
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 08:48:30 UTC) #56
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 09:01:31 UTC) #57
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 09:31:37 UTC) #58
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 10:01:49 UTC) #59
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 10:31:47 UTC) #60
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 11:01:38 UTC) #61
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 11:32:49 UTC) #62
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 12:01:31 UTC) #63
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 12:31:41 UTC) #64
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ is not running the ...
4 years ago (2016-12-05 13:01:27 UTC) #65
commit-bot: I haz the power
Committed patchset #23 (id:440001)
4 years ago (2016-12-05 13:46:10 UTC) #69
commit-bot: I haz the power
Patchset 23 (id:??) landed as https://crrev.com/65f77fb7054d31082b55e7385617c819f31902ec Cr-Commit-Position: refs/heads/master@{#436278}
4 years ago (2016-12-05 13:47:34 UTC) #71
Max Morin
4 years ago (2016-12-05 13:53:50 UTC) #72
Message was sent while issue was closed.
Thanks again everyone, let's hope there are no complications :)

https://codereview.chromium.org/2443573003/diff/420001/content/browser/render...
File content/browser/renderer_host/media/audio_output_delegate.h (right):

https://codereview.chromium.org/2443573003/diff/420001/content/browser/render...
content/browser/renderer_host/media/audio_output_delegate.h:124:
base::WeakPtr<AudioOutputDelegate> weak_this_;
On 2016/12/02 22:57:58, miu wrote:
> On 2016/12/02 18:20:13, DaleCurtis wrote:
> > Should be down with the WeakPtrFactory.
> 
> Put it after the WeakPtrFactory, and then the ctor can initialize this in its
> initializer list.

The WeakPtrFactory must be last (enforced by compiler), so I put the weak ptr
just above it. All other comments have been addressed.

Powered by Google App Engine
This is Rietveld 408576698