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

Issue 195053004: Create Pepper-based CDM for EME WD (Blink changes) (Closed)

Created:
6 years, 9 months ago by jrummell
Modified:
6 years, 9 months ago
CC:
blink-reviews, jamesr, philipj_slow, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Moving creation of WebContentDecryptionModule from Platform to public/web. This is done in order to get the origin and WebFrame needed to create the CDM. This is now similar to how WebMediaPlayer is created. This change adds a Page supplement for MediaKeys to enable this. BUG=250049, 353324 TEST=EME content tests pass (plus disabled ECK browser tests now pass) Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169797

Patch Set 1 #

Total comments: 29

Patch Set 2 : rebase #

Patch Set 3 : Fix copyright #

Total comments: 2

Patch Set 4 : passthru #

Total comments: 17

Patch Set 5 : Changes #

Total comments: 4

Patch Set 6 : rebase (WebLocalFrame) #

Patch Set 7 : Move provideMediaKeysTo() to MediaKeysController #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -1 line) Patch
M Source/modules/encryptedmedia/MediaKeys.cpp View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
A Source/modules/encryptedmedia/MediaKeysClient.h View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A Source/modules/encryptedmedia/MediaKeysController.h View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A Source/modules/encryptedmedia/MediaKeysController.cpp View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 1 chunk +3 lines, -0 lines 0 comments Download
A Source/web/MediaKeysClientImpl.h View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A Source/web/MediaKeysClientImpl.cpp View 1 2 3 4 1 chunk +30 lines, -0 lines 1 comment Download
M Source/web/WebViewImpl.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/web.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jrummell
PTAL.
6 years, 9 months ago (2014-03-11 18:02:20 UTC) #1
ddorwin
Looking good. I would change the description to focus on moving creation from Platform to ...
6 years, 9 months ago (2014-03-12 01:01:09 UTC) #2
jrummell
Updated. https://codereview.chromium.org/195053004/diff/1/Source/modules/encryptedmedia/MediaKeysClient.h File Source/modules/encryptedmedia/MediaKeysClient.h (right): https://codereview.chromium.org/195053004/diff/1/Source/modules/encryptedmedia/MediaKeysClient.h#newcode1 Source/modules/encryptedmedia/MediaKeysClient.h:1: /* On 2014/03/12 01:01:09, ddorwin wrote: > Use ...
6 years, 9 months ago (2014-03-17 20:48:37 UTC) #3
ddorwin
Two minor comments. LGTM. Thanks. https://codereview.chromium.org/195053004/diff/1/Source/modules/encryptedmedia/MediaKeysController.h File Source/modules/encryptedmedia/MediaKeysController.h (right): https://codereview.chromium.org/195053004/diff/1/Source/modules/encryptedmedia/MediaKeysController.h#newcode43 Source/modules/encryptedmedia/MediaKeysController.h:43: MediaKeysClient* client() const { ...
6 years, 9 months ago (2014-03-17 21:47:43 UTC) #4
jrummell
Updated. https://codereview.chromium.org/195053004/diff/1/Source/modules/encryptedmedia/MediaKeysController.h File Source/modules/encryptedmedia/MediaKeysController.h (right): https://codereview.chromium.org/195053004/diff/1/Source/modules/encryptedmedia/MediaKeysController.h#newcode43 Source/modules/encryptedmedia/MediaKeysController.h:43: MediaKeysClient* client() const { return m_client; } On ...
6 years, 9 months ago (2014-03-17 22:42:13 UTC) #5
acolwell GONE FROM CHROMIUM
looks good to me. Just a few comments. https://codereview.chromium.org/195053004/diff/60001/Source/modules/encryptedmedia/MediaKeys.cpp File Source/modules/encryptedmedia/MediaKeys.cpp (right): https://codereview.chromium.org/195053004/diff/60001/Source/modules/encryptedmedia/MediaKeys.cpp#newcode77 Source/modules/encryptedmedia/MediaKeys.cpp:77: ASSERT(document); ...
6 years, 9 months ago (2014-03-17 23:34:44 UTC) #6
eseidel
https://codereview.chromium.org/195053004/diff/60001/Source/modules/encryptedmedia/MediaKeys.cpp File Source/modules/encryptedmedia/MediaKeys.cpp (right): https://codereview.chromium.org/195053004/diff/60001/Source/modules/encryptedmedia/MediaKeys.cpp#newcode80 Source/modules/encryptedmedia/MediaKeys.cpp:80: OwnPtr<blink::WebContentDecryptionModule> cdm = adoptPtr(controller->createContentDecryptionModule(context, keySystem)); Is this really the ...
6 years, 9 months ago (2014-03-17 23:48:03 UTC) #7
jrummell
Updated. https://codereview.chromium.org/195053004/diff/60001/Source/modules/encryptedmedia/MediaKeys.cpp File Source/modules/encryptedmedia/MediaKeys.cpp (right): https://codereview.chromium.org/195053004/diff/60001/Source/modules/encryptedmedia/MediaKeys.cpp#newcode77 Source/modules/encryptedmedia/MediaKeys.cpp:77: ASSERT(document); On 2014/03/17 23:34:45, acolwell wrote: > nit: ...
6 years, 9 months ago (2014-03-18 17:05:30 UTC) #8
acolwell GONE FROM CHROMIUM
LGTM % comments https://codereview.chromium.org/195053004/diff/80001/Source/modules/encryptedmedia/MediaKeysClient.h File Source/modules/encryptedmedia/MediaKeysClient.h (right): https://codereview.chromium.org/195053004/diff/80001/Source/modules/encryptedmedia/MediaKeysClient.h#newcode28 Source/modules/encryptedmedia/MediaKeysClient.h:28: void provideMediaKeysTo(Page&, MediaKeysClient*); I still think ...
6 years, 9 months ago (2014-03-19 00:28:53 UTC) #9
jrummell
+abarth@ for OWNERS review since we have discussed these changes. eseidel@, you're welcome to review ...
6 years, 9 months ago (2014-03-19 00:42:41 UTC) #10
abarth-chromium
On 2014/03/17 23:48:03, eseidel wrote: > Is this really the pattern for web/platform apis, that ...
6 years, 9 months ago (2014-03-20 17:09:23 UTC) #11
abarth-chromium
6 years, 9 months ago (2014-03-20 17:11:49 UTC) #12
jrummell
Updated to move provideMediaKeysTo() to MediaKeysController. Once we agree on the correct pattern, I'll work ...
6 years, 9 months ago (2014-03-20 19:17:31 UTC) #13
eseidel
lgtm https://codereview.chromium.org/195053004/diff/120001/Source/web/MediaKeysClientImpl.cpp File Source/web/MediaKeysClientImpl.cpp (right): https://codereview.chromium.org/195053004/diff/120001/Source/web/MediaKeysClientImpl.cpp#newcode25 Source/web/MediaKeysClientImpl.cpp:25: WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); Hopefully this is never ...
6 years, 9 months ago (2014-03-21 17:48:04 UTC) #14
jrummell
The CQ bit was checked by jrummell@chromium.org
6 years, 9 months ago (2014-03-22 06:41:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jrummell@chromium.org/195053004/120001
6 years, 9 months ago (2014-03-22 06:41:49 UTC) #16
commit-bot: I haz the power
6 years, 9 months ago (2014-03-22 20:50:01 UTC) #17
Message was sent while issue was closed.
Change committed as 169797

Powered by Google App Engine
This is Rietveld 408576698