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

Issue 501473003: Move EME code out of WebMediaPlayerImpl. (Closed)

Created:
6 years, 4 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 3 months ago
Reviewers:
jrummell, xhwang, ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, eme-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Move EME code out of WebMediaPlayerImpl. This change moves all the encrypted media code out of WebMediaPlayerImpl and into a EncryptedMediaSupportImpl class. This removes the encrypted media related content/ depencencies from WebMediaPlayerImpl so that it will be easier to move WebMediaPlayerImpl to a location where it can be reused by Mojo. Committed: https://crrev.com/e2ea5183f7f5b2c562ed84258cc5bca4847b768b Cr-Commit-Position: refs/heads/master@{#291776}

Patch Set 1 #

Patch Set 2 : Remove some unnecessary changes #

Patch Set 3 : Fix Android build #

Total comments: 8

Patch Set 4 : Make lint happy #

Total comments: 20

Patch Set 5 : Address CR comments #

Patch Set 6 : Address CR comments #

Total comments: 11

Patch Set 7 : Address CR comments #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+720 lines, -432 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
A content/renderer/media/crypto/encrypted_media_player_support.h View 1 2 3 4 5 6 7 1 chunk +84 lines, -0 lines 0 comments Download
A content/renderer/media/crypto/encrypted_media_player_support.cc View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
A content/renderer/media/crypto/encrypted_media_player_support_impl.h View 1 2 3 4 5 1 chunk +121 lines, -0 lines 0 comments Download
A content/renderer/media/crypto/encrypted_media_player_support_impl.cc View 1 2 3 4 5 6 1 chunk +471 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.h View 1 2 3 4 5 6 7 9 chunks +3 lines, -52 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 16 chunks +20 lines, -379 lines 0 comments Download
M content/renderer/media/webmediaplayer_params.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
acolwell GONE FROM CHROMIUM
Please take a look. Based on these changes it looks like we should really extract ...
6 years, 4 months ago (2014-08-22 19:57:57 UTC) #1
xhwang
Didn't review the full impl of the new EMSI yet (assuming it's mostly moved from ...
6 years, 4 months ago (2014-08-22 20:52:52 UTC) #2
ddorwin
https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi#newcode254 content/content_renderer.gypi:254: 'renderer/media/crypto/encrypted_media_support.cc', This filename is not super meaningful in media/crypto/. ...
6 years, 4 months ago (2014-08-22 21:08:48 UTC) #3
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/501473003/diff/40001/content/renderer/media/crypto/encrypted_media_support.h File content/renderer/media/crypto/encrypted_media_support.h (right): https://codereview.chromium.org/501473003/diff/40001/content/renderer/media/crypto/encrypted_media_support.h#newcode22 content/renderer/media/crypto/encrypted_media_support.h:22: class EncryptedMediaSupport { On 2014/08/22 20:52:51, xhwang wrote: > ...
6 years, 4 months ago (2014-08-22 21:09:31 UTC) #4
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi#newcode254 content/content_renderer.gypi:254: 'renderer/media/crypto/encrypted_media_support.cc', On 2014/08/22 21:08:47, ddorwin wrote: > This filename ...
6 years, 4 months ago (2014-08-22 23:20:23 UTC) #5
xhwang
lgtm https://codereview.chromium.org/501473003/diff/100001/content/renderer/media/crypto/encrypted_media_player_support.h File content/renderer/media/crypto/encrypted_media_player_support.h (right): https://codereview.chromium.org/501473003/diff/100001/content/renderer/media/crypto/encrypted_media_player_support.h#newcode26 content/renderer/media/crypto/encrypted_media_player_support.h:26: static scoped_ptr<EncryptedMediaPlayerSupport> create( s/create/Create https://codereview.chromium.org/501473003/diff/100001/content/renderer/media/crypto/encrypted_media_player_support.h#newcode59 content/renderer/media/crypto/encrypted_media_player_support.h:59: blink::WebContentDecryptionModule* cdm) ...
6 years, 4 months ago (2014-08-23 00:31:57 UTC) #6
xhwang
I was landing https://codereview.chromium.org/418143005/ and I just realized that you need to rebase if that ...
6 years, 4 months ago (2014-08-23 00:33:18 UTC) #7
ddorwin
LGTM. I didn't review encrypted_media_player_support* in detail. https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi#newcode764 content/content_renderer.gypi:764: 'renderer/media/crypto/encrypted_media_support_impl.cc', On ...
6 years, 4 months ago (2014-08-25 17:10:15 UTC) #8
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/501473003/diff/60001/content/content_renderer.gypi#newcode764 content/content_renderer.gypi:764: 'renderer/media/crypto/encrypted_media_support_impl.cc', On 2014/08/25 17:10:14, ddorwin wrote: > On 2014/08/22 ...
6 years, 4 months ago (2014-08-25 18:10:43 UTC) #9
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 4 months ago (2014-08-25 20:41:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/501473003/140001
6 years, 4 months ago (2014-08-25 20:43:11 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-25 22:05:42 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (140001) as ece90a6a020e867855318ec21b7d9f6bd1a10dce
6 years, 4 months ago (2014-08-25 23:01:29 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:38:08 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e2ea5183f7f5b2c562ed84258cc5bca4847b768b
Cr-Commit-Position: refs/heads/master@{#291776}

Powered by Google App Engine
This is Rietveld 408576698