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

Issue 2784563003: WebRTC Audio private API: removing WebRtcAudioPrivate(Set/Get)ActiveSinkFunction (Closed)

Created:
3 years, 8 months ago by o1ka
Modified:
3 years, 8 months ago
CC:
arv+watch_chromium.org, audio-mojo-cl_google.com, chromium-apps-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, Guido Urdaneta, jam, Max Morin, miu+watch_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebRTC Audio private API: removing WebRtcAudioPrivate(Set/Get)ActiveSinkFunction together with GetOutputControllers() logic from renderer hosts. They are meant to be replaced with HTMLMediaElement's sinkId and setSinkId() Landed after the users had switched to HTMLMediaElement. BUG=647185, 672468 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:closure_compilation;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/2784563003 Cr-Commit-Position: refs/heads/master@{#466312} Committed: https://chromium.googlesource.com/chromium/src/+/bc189a38337d30fd6a5450658ab3547126d97485

Patch Set 1 #

Patch Set 2 : fix for webrtc_audio_private_browsertest #

Total comments: 12

Patch Set 3 : nitfixes #

Total comments: 6

Patch Set 4 : Devlin's comments addressed #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : updated api version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -635 lines) Patch
M chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h View 1 2 3 4 5 2 chunks +0 lines, -62 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc View 1 2 3 4 5 3 chunks +0 lines, -187 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc View 1 2 3 4 5 4 chunks +2 lines, -128 lines 0 comments Download
M chrome/browser/resources/hangout_services/manifest.json View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/hangout_services/thunk.js View 1 2 3 4 5 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/common/extensions/api/webrtc_audio_private.idl View 1 2 3 4 5 3 chunks +1 line, -13 lines 0 comments Download
M chrome/test/data/extensions/hangout_services_test.html View 1 2 4 chunks +3 lines, -17 lines 0 comments Download
M chrome/test/data/extensions/hangout_services_test.js View 3 chunks +0 lines, -31 lines 0 comments Download
M content/browser/renderer_host/media/audio_output_delegate_impl.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_output_delegate_impl.cc View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/audio_output_delegate_impl_unittest.cc View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.h View 1 2 3 4 5 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 2 chunks +0 lines, -19 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 3 4 5 2 chunks +0 lines, -14 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/audio_output_controller.h View 2 chunks +0 lines, -19 lines 0 comments Download
M media/audio/audio_output_controller.cc View 2 chunks +0 lines, -45 lines 0 comments Download
M media/audio/audio_output_controller_unittest.cc View 4 chunks +0 lines, -47 lines 0 comments Download
M media/audio/audio_output_delegate.h View 1 2 3 4 5 2 chunks +0 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 55 (29 generated)
o1ka
I'm getting ready to land it as soon as the WebRTC audio private API client ...
3 years, 8 months ago (2017-03-30 15:43:36 UTC) #11
DaleCurtis
\o/
3 years, 8 months ago (2017-03-30 18:38:26 UTC) #14
sky
I'm not at all familiar with this code. sky->devlin
3 years, 8 months ago (2017-03-30 20:50:36 UTC) #16
Devlin
Have the users of this API migrated away from these methods?
3 years, 8 months ago (2017-03-30 22:14:29 UTC) #17
o1ka
On 2017/03/30 22:14:29, Devlin wrote: > Have the users of this API migrated away from ...
3 years, 8 months ago (2017-03-31 00:15:17 UTC) #18
Max Morin
I cannot resist: LGTM!!! :) Some nits. https://codereview.chromium.org/2784563003/diff/20001/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc File chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc (right): https://codereview.chromium.org/2784563003/diff/20001/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc#newcode270 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc:270: for (AudioDeviceDescriptions::const_iterator ...
3 years, 8 months ago (2017-03-31 07:04:20 UTC) #20
tommi (sloooow) - chröme
I'm not resisting either - lgtm! :D I'm unfortunately out of time for reviews today ...
3 years, 8 months ago (2017-03-31 08:59:04 UTC) #21
o1ka
Thanks Max! https://codereview.chromium.org/2784563003/diff/20001/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc File chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc (right): https://codereview.chromium.org/2784563003/diff/20001/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc#newcode270 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc:270: for (AudioDeviceDescriptions::const_iterator it = source_devices_.begin(); On 2017/03/31 ...
3 years, 8 months ago (2017-03-31 09:15:28 UTC) #22
o1ka
On 2017/03/31 08:59:04, tommi - chröme wrote: > I'm not resisting either - lgtm! :D ...
3 years, 8 months ago (2017-03-31 09:16:24 UTC) #23
o1ka
Devlin - ping?
3 years, 8 months ago (2017-04-05 10:18:20 UTC) #24
Devlin
Sorry for the delay! Thanks for the awesome cleanup :) https://codereview.chromium.org/2784563003/diff/40001/chrome/common/extensions/api/webrtc_audio_private.idl File chrome/common/extensions/api/webrtc_audio_private.idl (right): https://codereview.chromium.org/2784563003/diff/40001/chrome/common/extensions/api/webrtc_audio_private.idl#newcode42 ...
3 years, 8 months ago (2017-04-05 14:13:55 UTC) #25
o1ka
Thanks Devlin, comments addressed - PTAL. https://codereview.chromium.org/2784563003/diff/40001/chrome/common/extensions/api/webrtc_audio_private.idl File chrome/common/extensions/api/webrtc_audio_private.idl (right): https://codereview.chromium.org/2784563003/diff/40001/chrome/common/extensions/api/webrtc_audio_private.idl#newcode42 chrome/common/extensions/api/webrtc_audio_private.idl:42: dictionary RequestInfo { ...
3 years, 8 months ago (2017-04-06 12:18:30 UTC) #30
o1ka
isherman@chromium.org: Please review changes in extensions/browser/extension_function_histogram_value.h tools/metrics/histograms/histograms.xml avi@chromium.org: Please RS content/browser/renderer_host/render_process_host_impl.h content/browser/renderer_host/render_process_host_impl.cc content/public/browser/render_process_host.h (or *render_process_host* ...
3 years, 8 months ago (2017-04-06 12:25:53 UTC) #32
Avi (use Gerrit)
RenderProcessHost stuff lgtm
3 years, 8 months ago (2017-04-06 15:13:27 UTC) #33
Ilya Sherman
histograms.xml lgtm
3 years, 8 months ago (2017-04-06 19:38:44 UTC) #34
Devlin
extensions lgtm
3 years, 8 months ago (2017-04-06 20:49:48 UTC) #35
o1ka
Thanks Devlin, Avi and Ilya. sky@ Could you RS extensions?
3 years, 8 months ago (2017-04-07 09:01:16 UTC) #37
Devlin
On 2017/04/07 09:01:16, o1ka wrote: > Thanks Devlin, Avi and Ilya. > > sky@ Could ...
3 years, 8 months ago (2017-04-07 14:35:47 UTC) #38
o1ka
On 2017/04/07 14:35:47, Devlin wrote: > On 2017/04/07 09:01:16, o1ka wrote: > > Thanks Devlin, ...
3 years, 8 months ago (2017-04-07 14:42:17 UTC) #39
o1ka
On 2017/04/07 14:42:17, o1ka wrote: > On 2017/04/07 14:35:47, Devlin wrote: > > On 2017/04/07 ...
3 years, 8 months ago (2017-04-07 14:44:14 UTC) #41
o1ka
> Now waiting for the WebRtc private clients to land their changes. * WebRtc audio ...
3 years, 8 months ago (2017-04-07 14:44:59 UTC) #42
o1ka
grunell@ could you RS chrome/browser/resources/hangout_services/thunk.js? Thanks!
3 years, 8 months ago (2017-04-21 08:07:40 UTC) #46
Henrik Grunell
Also update the version in chrome/browser/resources/hangout_services/manifest.json (third number). Then lgtm.
3 years, 8 months ago (2017-04-21 08:22:59 UTC) #47
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/2784563003/120001
3 years, 8 months ago (2017-04-21 09:25:22 UTC) #50
o1ka
On 2017/04/21 08:22:59, Henrik Grunell wrote: > Also update the version in > chrome/browser/resources/hangout_services/manifest.json (third ...
3 years, 8 months ago (2017-04-21 09:25:36 UTC) #51
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 11:20:01 UTC) #54
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/bc189a38337d30fd6a5450658ab3...

Powered by Google App Engine
This is Rietveld 408576698