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

Issue 1918173002: Add support for device-change notifications to MediaStreamDispatcher and MediaStreamDispatcherHost (Closed)

Created:
4 years, 8 months ago by Guido Urdaneta
Modified:
4 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, mkwst+moarreviews-renderer_chromium.org, hta - Chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for device-change notifications to MediaStreamDispatcher and MediaStreamDispatcherHost This is a step towards supporting the "devicechange" event in Blink. BUG=388648 Committed: https://crrev.com/ec334e1799ae25aaa1b0c66e25af641018a3a84a Cr-Commit-Position: refs/heads/master@{#391114}

Patch Set 1 #

Patch Set 2 : Remove unnecessary comment #

Total comments: 4

Patch Set 3 : add thread checks #

Patch Set 4 : add missing #include #

Total comments: 6

Patch Set 5 : hta comments #

Total comments: 8

Patch Set 6 : rebase and palmer's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -21 lines) Patch
M content/browser/renderer_host/media/media_stream_dispatcher_host.h View 1 2 3 4 5 3 chunks +28 lines, -8 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_dispatcher_host.cc View 1 2 3 4 5 7 chunks +84 lines, -6 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc View 1 2 3 4 5 8 chunks +47 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/media/media_stream_messages.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dispatcher.h View 1 2 3 4 5 4 chunks +16 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dispatcher.cc View 1 2 3 4 5 4 chunks +49 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_dispatcher_eventhandler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dispatcher_unittest.cc View 1 2 3 4 5 5 chunks +29 lines, -2 lines 0 comments Download
M content/renderer/media/user_media_client_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_media_device_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/pepper_media_device_manager.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Guido Urdaneta
Hi, PTAL
4 years, 8 months ago (2016-04-26 08:56:26 UTC) #2
tommi (sloooow) - chröme
lgtm with thread checks added https://codereview.chromium.org/1918173002/diff/20001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc File content/browser/renderer_host/media/media_stream_dispatcher_host.cc (right): https://codereview.chromium.org/1918173002/diff/20001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc#newcode251 content/browser/renderer_host/media/media_stream_dispatcher_host.cc:251: void MediaStreamDispatcherHost::OnSubscribeToDeviceChangeNotifications( can you ...
4 years, 8 months ago (2016-04-26 10:11:36 UTC) #3
Guido Urdaneta
https://codereview.chromium.org/1918173002/diff/20001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc File content/browser/renderer_host/media/media_stream_dispatcher_host.cc (right): https://codereview.chromium.org/1918173002/diff/20001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc#newcode251 content/browser/renderer_host/media/media_stream_dispatcher_host.cc:251: void MediaStreamDispatcherHost::OnSubscribeToDeviceChangeNotifications( On 2016/04/26 10:11:36, tommi-chrömium wrote: > can ...
4 years, 8 months ago (2016-04-26 11:07:54 UTC) #4
Guido Urdaneta
palmer@chromium.org: Please review changes in content/common/media/media_stream_messages.h bbudge@chromium.org: Please review changes in content/renderer/pepper
4 years, 8 months ago (2016-04-26 11:08:56 UTC) #6
hta - Chromium
lgtm as far as I can read. Seems straightforward to me. Some nits. https://codereview.chromium.org/1918173002/diff/60001/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc File ...
4 years, 8 months ago (2016-04-26 12:31:00 UTC) #9
Guido Urdaneta
https://codereview.chromium.org/1918173002/diff/60001/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc File content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc (right): https://codereview.chromium.org/1918173002/diff/60001/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc#newcode148 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc:148: // In this method we dispatch the messages to ...
4 years, 8 months ago (2016-04-26 13:04:19 UTC) #10
palmer
https://codereview.chromium.org/1918173002/diff/80001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc File content/browser/renderer_host/media/media_stream_dispatcher_host.cc (right): https://codereview.chromium.org/1918173002/diff/80001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc#newcode7 content/browser/renderer_host/media/media_stream_dispatcher_host.cc:7: #include <algorithm> Nit: I think you need a blank ...
4 years, 8 months ago (2016-04-26 23:25:02 UTC) #11
bbudge
content/renderer/pepper LGTM
4 years, 8 months ago (2016-04-26 23:48:05 UTC) #12
Guido Urdaneta
https://codereview.chromium.org/1918173002/diff/80001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc File content/browser/renderer_host/media/media_stream_dispatcher_host.cc (right): https://codereview.chromium.org/1918173002/diff/80001/content/browser/renderer_host/media/media_stream_dispatcher_host.cc#newcode7 content/browser/renderer_host/media/media_stream_dispatcher_host.cc:7: #include <algorithm> On 2016/04/26 23:25:02, palmer wrote: > Nit: ...
4 years, 7 months ago (2016-05-01 11:08:40 UTC) #13
palmer
lgtm
4 years, 7 months ago (2016-05-02 22:39:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918173002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918173002/100001
4 years, 7 months ago (2016-05-02 23:01:24 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-03 00:13:00 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/ec334e1799ae25aaa1b0c66e25af641018a3a84a Cr-Commit-Position: refs/heads/master@{#391114}
4 years, 7 months ago (2016-05-03 00:14:08 UTC) #21
Dirk Pranke
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1939313003/ by dpranke@chromium.org. ...
4 years, 7 months ago (2016-05-03 01:21:02 UTC) #22
Dirk Pranke
4 years, 7 months ago (2016-05-03 02:02:00 UTC) #23
Message was sent while issue was closed.
On 2016/05/03 01:21:02, Dirk Pranke wrote:
> A revert of this CL (patchset #6 id:100001) has been created in
> https://codereview.chromium.org/1939313003/ by mailto:dpranke@chromium.org.
> 
> The reason for reverting is: This has caused content_browsertests to fail on
> multiple builders, e.g.:
> 
> https://build.chromium.org/p/chromium.linux/builders/Cast%20Linux/builds/23972
>
https://build.chromium.org/p/chromium.linux/builders/Android%20GN/builds/34086.

Whoops, sorry, that should've been content_unittests.

Powered by Google App Engine
This is Rietveld 408576698