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

Issue 1171953002: Add IPC interface for switching the audio output device for a given audio stream in the browser. (Closed)

Created:
5 years, 6 months ago by Guido Urdaneta
Modified:
5 years, 6 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, miu+watch_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add IPC interface for switching the audio output device for a given audio stream in the browser. The goal is to add support for the Audio Output Devices API (http://w3c.github.io/mediacapture-output/) BUG=438023 Committed: https://crrev.com/61e29dfb0548ed8782669fb441226a52ada50c8f Cr-Commit-Position: refs/heads/master@{#333963}

Patch Set 1 #

Patch Set 2 : fix vertical whitespace #

Patch Set 3 : Format fixes only. #

Patch Set 4 : More style fixes #

Total comments: 10

Patch Set 5 : Address reviewers' comments #

Total comments: 11

Patch Set 6 : Address Nick's comments #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Patch Set 9 : whitespace fix #

Patch Set 10 : Fix style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -9 lines) Patch
M content/browser/bad_message.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/media/media_internals.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.h View 1 2 7 chunks +44 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 9 6 chunks +159 lines, -2 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 9 chunks +77 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/common/media/audio_messages.h View 1 2 3 4 5 6 7 8 9 5 chunks +21 lines, -0 lines 0 comments Download
M media/audio/audio_logging.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/audio/audio_output_ipc.h View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M media/audio/fake_audio_log_factory.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Guido Urdaneta
Hi, Please take a look at this CL, which is a subset of the old ...
5 years, 6 months ago (2015-06-09 10:12:16 UTC) #2
miu
lgtm % a few minor things to address before commit: https://codereview.chromium.org/1171953002/diff/60001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/1171953002/diff/60001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode459 ...
5 years, 6 months ago (2015-06-09 19:49:25 UTC) #3
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/1171953002/diff/60001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/1171953002/diff/60001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode506 content/browser/renderer_host/media/audio_renderer_host.cc:506: media::AudioDeviceNames* device_names = new media::AudioDeviceNames; nit: use () ...
5 years, 6 months ago (2015-06-09 20:27:48 UTC) #4
Guido Urdaneta
Addressed all previous comments from reviewers. https://codereview.chromium.org/1171953002/diff/60001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/1171953002/diff/60001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode459 content/browser/renderer_host/media/audio_renderer_host.cc:459: // Use MEDIA_DEVICE_AUDIO_CAPTURE ...
5 years, 6 months ago (2015-06-10 09:44:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1171953002/80001
5 years, 6 months ago (2015-06-10 09:45:16 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/69765)
5 years, 6 months ago (2015-06-10 09:51:44 UTC) #10
ncarter (slow)
https://codereview.chromium.org/1171953002/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/1171953002/diff/80001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode444 content/browser/renderer_host/media/audio_renderer_host.cc:444: if (!IsURLAllowed(security_origin)) { When a renderer steps out of ...
5 years, 6 months ago (2015-06-10 18:10:48 UTC) #12
ncarter (slow)
https://codereview.chromium.org/1171953002/diff/80001/media/audio/audio_output_ipc.h File media/audio/audio_output_ipc.h (right): https://codereview.chromium.org/1171953002/diff/80001/media/audio/audio_output_ipc.h#newcode40 media/audio/audio_output_ipc.h:40: kSwitchOutputDeviceResultLast = kNotSupportedError On 2015/06/10 18:10:48, ncarter wrote: > ...
5 years, 6 months ago (2015-06-10 18:13:03 UTC) #13
Guido Urdaneta
https://codereview.chromium.org/1171953002/diff/80001/media/audio/audio_output_ipc.h File media/audio/audio_output_ipc.h (right): https://codereview.chromium.org/1171953002/diff/80001/media/audio/audio_output_ipc.h#newcode40 media/audio/audio_output_ipc.h:40: kSwitchOutputDeviceResultLast = kNotSupportedError On 2015/06/10 18:13:03, ncarter wrote: > ...
5 years, 6 months ago (2015-06-10 18:23:05 UTC) #14
ncarter (slow)
https://codereview.chromium.org/1171953002/diff/80001/media/audio/audio_output_ipc.h File media/audio/audio_output_ipc.h (right): https://codereview.chromium.org/1171953002/diff/80001/media/audio/audio_output_ipc.h#newcode40 media/audio/audio_output_ipc.h:40: kSwitchOutputDeviceResultLast = kNotSupportedError On 2015/06/10 18:23:05, guidou wrote: > ...
5 years, 6 months ago (2015-06-10 19:14:20 UTC) #15
Guido Urdaneta
https://codereview.chromium.org/1171953002/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/1171953002/diff/80001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode444 content/browser/renderer_host/media/audio_renderer_host.cc:444: if (!IsURLAllowed(security_origin)) { On 2015/06/10 18:10:48, ncarter wrote: > ...
5 years, 6 months ago (2015-06-11 00:51:57 UTC) #17
Ilya Sherman
histograms.xml lgtm
5 years, 6 months ago (2015-06-11 03:33:05 UTC) #18
Mike West
IPC LGTM. It looks like you're adequately validating the incoming data from the renderer.
5 years, 6 months ago (2015-06-11 11:02:04 UTC) #19
ncarter (slow)
lgtm
5 years, 6 months ago (2015-06-11 15:10:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1171953002/180001
5 years, 6 months ago (2015-06-11 15:12:49 UTC) #23
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 6 months ago (2015-06-11 16:14:06 UTC) #24
commit-bot: I haz the power
5 years, 6 months ago (2015-06-11 16:15:29 UTC) #25
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/61e29dfb0548ed8782669fb441226a52ada50c8f
Cr-Commit-Position: refs/heads/master@{#333963}

Powered by Google App Engine
This is Rietveld 408576698