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

Issue 517003002: Remove RenderThreadImpl dependencies from WebMediaPlayerImpl. (Closed)

Created:
6 years, 3 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 3 months ago
CC:
chromium-reviews, creis+watch_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, eme-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

Remove RenderThreadImpl dependencies from WebMediaPlayerImpl. This change replaces RenderThreadImpl calls in WebMediaPlayerImpl with calls on the WebMediaPlayerParams passed into the constructor. This removes another content/ depencency so that this code can be moved to media/blink. The EncryptedMediaSupport creation was moved to RenderThreadImpl and passed via WebMediaPlayerParams to avoid linking problems that would occur if WebMediaPlayerImpl was in media/blink. BUG=408338 Committed: https://crrev.com/755d12d77ef044472b56a11b4ae3f5ffad30bb09 Cr-Commit-Position: refs/heads/master@{#292741}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address CR comments #

Total comments: 3

Patch Set 3 : Fix player_x11 with 1 hand while shaking fist at it with the other. #

Total comments: 2

Patch Set 4 : Address CR comment #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -35 lines) Patch
M content/renderer/media/crypto/encrypted_media_player_support.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/media/crypto/encrypted_media_player_support_impl.h View 1 3 chunks +9 lines, -1 line 0 comments Download
M content/renderer/media/crypto/encrypted_media_player_support_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_impl.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 5 5 chunks +12 lines, -14 lines 0 comments Download
M content/renderer/media/webmediaplayer_params.h View 1 3 chunks +62 lines, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_params.cc View 1 1 chunk +26 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 3 chunks +11 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_impl.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_impl.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M media/filters/audio_renderer_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/filters/pipeline_integration_test_base.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (1 generated)
acolwell GONE FROM CHROMIUM
acolwell@chromium.org changed reviewers: + jamesr@chromium.org, scherkus@chromium.org
6 years, 3 months ago (2014-08-28 17:23:33 UTC) #1
acolwell GONE FROM CHROMIUM
jamesr: OWNERS for content/renderer/render_frame_impl.cc changes scherkus: Everything else.
6 years, 3 months ago (2014-08-28 17:23:33 UTC) #2
scherkus (not reviewing)
few questions 'n stuff https://codereview.chromium.org/517003002/diff/1/content/renderer/media/crypto/encrypted_media_player_support.h File content/renderer/media/crypto/encrypted_media_player_support.h (left): https://codereview.chromium.org/517003002/diff/1/content/renderer/media/crypto/encrypted_media_player_support.h#oldcode25 content/renderer/media/crypto/encrypted_media_player_support.h:25: // method must always return ...
6 years, 3 months ago (2014-08-28 18:36:12 UTC) #3
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/517003002/diff/1/content/renderer/media/crypto/encrypted_media_player_support.h File content/renderer/media/crypto/encrypted_media_player_support.h (left): https://codereview.chromium.org/517003002/diff/1/content/renderer/media/crypto/encrypted_media_player_support.h#oldcode25 content/renderer/media/crypto/encrypted_media_player_support.h:25: // method must always return a valid pointer. On ...
6 years, 3 months ago (2014-08-28 19:07:28 UTC) #4
jamesr
I don't think I know enough about this to provide much useful input, but here's ...
6 years, 3 months ago (2014-08-28 19:12:03 UTC) #5
scherkus (not reviewing)
https://codereview.chromium.org/517003002/diff/1/content/renderer/media/webmediaplayer_params.h File content/renderer/media/webmediaplayer_params.h (right): https://codereview.chromium.org/517003002/diff/1/content/renderer/media/webmediaplayer_params.h#newcode75 content/renderer/media/webmediaplayer_params.h:75: return encrypted_media_player_support_.Pass(); On 2014/08/28 19:07:28, acolwell wrote: > On ...
6 years, 3 months ago (2014-08-28 19:12:15 UTC) #6
acolwell GONE FROM CHROMIUM
scherkus: PTAL https://codereview.chromium.org/517003002/diff/1/media/filters/audio_renderer_impl.h File media/filters/audio_renderer_impl.h (right): https://codereview.chromium.org/517003002/diff/1/media/filters/audio_renderer_impl.h#newcode67 media/filters/audio_renderer_impl.h:67: const AudioHardwareConfig* const hardware_params); On 2014/08/28 19:12:03, ...
6 years, 3 months ago (2014-08-28 20:55:51 UTC) #7
DaleCurtis
dalecurtis@chromium.org changed reviewers: + dalecurtis@chromium.org
6 years, 3 months ago (2014-08-28 21:01:06 UTC) #8
DaleCurtis
https://codereview.chromium.org/517003002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/517003002/diff/20001/content/renderer/render_frame_impl.cc#newcode1576 content/renderer/render_frame_impl.cc:1576: render_thread->GetAudioRendererMixerManager()->CreateInput( Note, this will create and start an AudioOutputDevice ...
6 years, 3 months ago (2014-08-28 21:01:06 UTC) #9
DaleCurtis
https://codereview.chromium.org/517003002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/517003002/diff/20001/content/renderer/render_frame_impl.cc#newcode1576 content/renderer/render_frame_impl.cc:1576: render_thread->GetAudioRendererMixerManager()->CreateInput( On 2014/08/28 21:01:06, DaleCurtis wrote: > Note, this ...
6 years, 3 months ago (2014-08-28 21:02:39 UTC) #10
scherkus (not reviewing)
lgtm w/ nit https://codereview.chromium.org/517003002/diff/40001/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/517003002/diff/40001/content/renderer/media/webmediaplayer_impl.cc#newcode173 content/renderer/media/webmediaplayer_impl.cc:173: params.CreateEncryptedMediaPlayerSupport(client).Pass()), I *think* you can drop ...
6 years, 3 months ago (2014-08-28 21:04:04 UTC) #11
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/517003002/diff/40001/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/517003002/diff/40001/content/renderer/media/webmediaplayer_impl.cc#newcode173 content/renderer/media/webmediaplayer_impl.cc:173: params.CreateEncryptedMediaPlayerSupport(client).Pass()), On 2014/08/28 21:04:04, scherkus wrote: > I *think* ...
6 years, 3 months ago (2014-08-28 21:15:05 UTC) #12
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 3 months ago (2014-08-28 21:15:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/517003002/60001
6 years, 3 months ago (2014-08-28 21:16:10 UTC) #14
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 3 months ago (2014-08-28 21:59:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/517003002/80001
6 years, 3 months ago (2014-08-28 22:00:34 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-28 23:24:18 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 23:29:04 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/7012)
6 years, 3 months ago (2014-08-28 23:29:05 UTC) #19
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 3 months ago (2014-08-29 01:25:24 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/517003002/80001
6 years, 3 months ago (2014-08-29 01:26:12 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-29 01:35:37 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-29 01:49:14 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/7066)
6 years, 3 months ago (2014-08-29 01:49:15 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 4955068fa9b32e203f922492cafbe2bb20bd771c
6 years, 3 months ago (2014-08-30 01:09:59 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:12:35 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/755d12d77ef044472b56a11b4ae3f5ffad30bb09
Cr-Commit-Position: refs/heads/master@{#292741}

Powered by Google App Engine
This is Rietveld 408576698