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

Issue 562643003: Implement WebUserMediaClient::requestSources (Closed)

Created:
6 years, 3 months ago by Henrik Grunell
Modified:
6 years, 3 months ago
Reviewers:
perkj_chrome
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement WebUserMediaClient::requestSources This makes MediaStreamTrack::getSources go through UserMediaClient instead, needed to know which frame the call came from. Blink CL: https://codereview.chromium.org/560843002/ BUG=406094 Committed: https://crrev.com/3a454d78eaab545bc976d9240b0e23019bcfbbcc Cr-Commit-Position: refs/heads/master@{#294582}

Patch Set 1 #

Patch Set 2 : Cleaning. #

Total comments: 8

Patch Set 3 : Code review. #

Patch Set 4 : Add new unit test, update current enumerate devices test and a mock. #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -69 lines) Patch
M content/renderer/media/mock_media_stream_dispatcher.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/mock_media_stream_dispatcher.cc View 1 2 3 4 chunks +8 lines, -3 lines 0 comments Download
M content/renderer/media/user_media_client_impl.h View 1 4 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 2 3 4 5 8 chunks +161 lines, -46 lines 0 comments Download
M content/renderer/media/user_media_client_impl_unittest.cc View 1 2 3 7 chunks +96 lines, -19 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Henrik Grunell
6 years, 3 months ago (2014-09-10 12:59:46 UTC) #2
perkj_chrome
Can you also add a unittests in user_media_client_unittests. https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc File content/renderer/media/user_media_client_impl.cc (right): https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc#newcode279 content/renderer/media/user_media_client_impl.cc:279: // ...
6 years, 3 months ago (2014-09-10 15:17:39 UTC) #3
Henrik Grunell
I'll add unit tests as well. https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc File content/renderer/media/user_media_client_impl.cc (right): https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc#newcode279 content/renderer/media/user_media_client_impl.cc:279: // TODO On ...
6 years, 3 months ago (2014-09-12 10:58:26 UTC) #4
Henrik Grunell
Added unit test. Ptal.
6 years, 3 months ago (2014-09-12 12:12:46 UTC) #5
perkj_chrome
lgtm provided the below is addressed. https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc File content/renderer/media/user_media_client_impl.cc (right): https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc#newcode437 content/renderer/media/user_media_client_impl.cc:437: CancelAndDeleteMediaDevicesRequest(request); On 2014/09/12 ...
6 years, 3 months ago (2014-09-12 12:35:34 UTC) #6
Henrik Grunell
https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc File content/renderer/media/user_media_client_impl.cc (right): https://codereview.chromium.org/562643003/diff/20001/content/renderer/media/user_media_client_impl.cc#newcode437 content/renderer/media/user_media_client_impl.cc:437: CancelAndDeleteMediaDevicesRequest(request); On 2014/09/12 12:35:33, perkj wrote: > On 2014/09/12 ...
6 years, 3 months ago (2014-09-12 12:59:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/562643003/100001
6 years, 3 months ago (2014-09-12 12:59:54 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 87ff9a986ff3f97a4fe5980ad96d6c9904a2263f
6 years, 3 months ago (2014-09-12 14:00:02 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 14:02:41 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3a454d78eaab545bc976d9240b0e23019bcfbbcc
Cr-Commit-Position: refs/heads/master@{#294582}

Powered by Google App Engine
This is Rietveld 408576698