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

Issue 131653003: Support LoadSession() in MediaKeys and PPP_ContentDecryptor_Private interface. (Closed)

Created:
6 years, 10 months ago by xhwang
Modified:
6 years, 10 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, fischman+watch_chromium.org, noelallen1, jam, mcasas+watch_chromium.org, yzshen+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, teravest+watch_chromium.org, darin-cc_chromium.org, raymes+watch_chromium.org, nfullagar1, piman+watch_chromium.org, wjia+watch_chromium.org, binji, ihf+watch_chromium.org
Visibility:
Public.

Description

Support LoadSession() in MediaKeys and PPP_ContentDecryptor_Private interface. - Add LoadSession() to all MediaKeys implementations. - Add LoadSession() support in PPP_ContentDecryptor_Private stack. - Move "LOAD_SESSION|" parsing code from CdmWrapper to ProxyDecryptor. - Also update "type" parameter in CreateSession() to "content_type". BUG=338831 TEST=LoadSession tests in browser_tests still pass. R=dcheng@chromium.org, ddorwin@chromium.org, dmichael@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250769

Patch Set 1 #

Patch Set 2 : #

Total comments: 29

Patch Set 3 : comments addressed #

Total comments: 3

Patch Set 4 : comments addressed #

Total comments: 2

Patch Set 5 : comments addressed #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : comments addressed #

Patch Set 8 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -133 lines) Patch
M content/browser/media/android/browser_media_player_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/media/android/browser_media_player_manager.cc View 1 2 4 chunks +14 lines, -7 lines 0 comments Download
M content/renderer/media/android/proxy_media_keys.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/media/android/proxy_media_keys.cc View 1 2 2 chunks +15 lines, -5 lines 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 2 4 chunks +17 lines, -3 lines 0 comments Download
M content/renderer/media/crypto/proxy_decryptor.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/crypto/proxy_decryptor.cc View 1 2 3 4 5 6 3 chunks +24 lines, -9 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 1 chunk +12 lines, -5 lines 0 comments Download
M media/base/android/media_drm_bridge.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M media/base/android/media_drm_bridge.cc View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M media/base/media_keys.h View 1 2 1 chunk +11 lines, -4 lines 0 comments Download
M media/cdm/aes_decryptor.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor.cc View 1 2 3 chunks +9 lines, -2 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.h View 1 chunk +3 lines, -1 line 0 comments Download
M media/cdm/ppapi/cdm_adapter.cc View 1 2 3 3 chunks +24 lines, -6 lines 0 comments Download
M media/cdm/ppapi/cdm_wrapper.h View 1 2 6 chunks +59 lines, -36 lines 0 comments Download
M ppapi/api/private/ppp_content_decryptor_private.idl View 3 chunks +25 lines, -7 lines 0 comments Download
M ppapi/c/private/ppp_content_decryptor_private.h View 1 2 6 chunks +28 lines, -12 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.h View 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 5 chunks +30 lines, -22 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.h View 1 chunk +4 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 2 3 4 5 4 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
xhwang
PTAL https://codereview.chromium.org/131653003/diff/30001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/131653003/diff/30001/media/cdm/ppapi/cdm_adapter.cc#newcode302 media/cdm/ppapi/cdm_adapter.cc:302: cdm_->GetCdmVersion() < cdm::ContentDecryptionModule_4::kVersion) { Currently CdmWrapper doesn't have ...
6 years, 10 months ago (2014-02-08 01:05:25 UTC) #1
ddorwin
A lot of this is discussion unrelated to LoadSession() and can probably be addressed in ...
6 years, 10 months ago (2014-02-10 19:05:22 UTC) #2
xhwang
comments addressed
6 years, 10 months ago (2014-02-10 22:30:42 UTC) #3
xhwang
PTAL again https://codereview.chromium.org/131653003/diff/30001/content/browser/media/android/browser_media_player_manager.cc File content/browser/media/android/browser_media_player_manager.cc (right): https://codereview.chromium.org/131653003/diff/30001/content/browser/media/android/browser_media_player_manager.cc#newcode622 content/browser/media/android/browser_media_player_manager.cc:622: // https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-createsession On 2014/02/10 19:05:25, ddorwin wrote: ...
6 years, 10 months ago (2014-02-10 22:30:54 UTC) #4
ddorwin
lgtm % comment https://codereview.chromium.org/131653003/diff/130001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/131653003/diff/130001/media/cdm/ppapi/cdm_adapter.cc#newcode257 media/cdm/ppapi/cdm_adapter.cc:257: // support more delicate error reporting ...
6 years, 10 months ago (2014-02-10 23:26:24 UTC) #5
xhwang
comments addressed
6 years, 10 months ago (2014-02-10 23:41:54 UTC) #6
xhwang
https://codereview.chromium.org/131653003/diff/130001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/131653003/diff/130001/media/cdm/ppapi/cdm_adapter.cc#newcode257 media/cdm/ppapi/cdm_adapter.cc:257: // support more delicate error reporting (other than "Unknown"). ...
6 years, 10 months ago (2014-02-10 23:42:33 UTC) #7
xhwang
dmichael@: Please do an OWNERS review at - content/renderer/pepper/content_decryptor_delegate.* - ppapi/*
6 years, 10 months ago (2014-02-10 23:43:50 UTC) #8
xhwang
dcheng@: Please do an OWNERS review at ppapi/proxy/ppapi_messages.h
6 years, 10 months ago (2014-02-10 23:45:48 UTC) #9
xhwang
dcheng@: Please do an OWNERS review at ppapi/proxy/ppapi_messages.h
6 years, 10 months ago (2014-02-10 23:46:23 UTC) #10
dmichael (off chromium)
https://codereview.chromium.org/131653003/diff/480001/ppapi/cpp/private/content_decryptor_private.h File ppapi/cpp/private/content_decryptor_private.h (right): https://codereview.chromium.org/131653003/diff/480001/ppapi/cpp/private/content_decryptor_private.h#newcode39 ppapi/cpp/private/content_decryptor_private.h:39: const std::string& web_session_id) = 0; Don't you need a ...
6 years, 10 months ago (2014-02-10 23:56:49 UTC) #11
xhwang
comments addressed
6 years, 10 months ago (2014-02-11 00:08:29 UTC) #12
xhwang
https://codereview.chromium.org/131653003/diff/480001/ppapi/cpp/private/content_decryptor_private.h File ppapi/cpp/private/content_decryptor_private.h (right): https://codereview.chromium.org/131653003/diff/480001/ppapi/cpp/private/content_decryptor_private.h#newcode39 ppapi/cpp/private/content_decryptor_private.h:39: const std::string& web_session_id) = 0; On 2014/02/10 23:56:50, dmichael ...
6 years, 10 months ago (2014-02-11 00:09:54 UTC) #13
xhwang
kindly ping? This needs to be landed before the branch cut.
6 years, 10 months ago (2014-02-11 23:06:33 UTC) #14
dcheng
ppapi/proxy/ppapi_messages.h changes LGTM. Some random nits below that might be nice to fix. https://codereview.chromium.org/131653003/diff/740001/content/renderer/media/crypto/proxy_decryptor.cc File ...
6 years, 10 months ago (2014-02-11 23:12:24 UTC) #15
dmichael (off chromium)
pepper stuff lgtm
6 years, 10 months ago (2014-02-11 23:30:45 UTC) #16
xhwang
comments addressed
6 years, 10 months ago (2014-02-12 02:22:38 UTC) #17
xhwang
https://codereview.chromium.org/131653003/diff/740001/content/renderer/media/crypto/proxy_decryptor.cc File content/renderer/media/crypto/proxy_decryptor.cc (right): https://codereview.chromium.org/131653003/diff/740001/content/renderer/media/crypto/proxy_decryptor.cc#newcode94 content/renderer/media/crypto/proxy_decryptor.cc:94: sizeof(kPrefixedApiLoadSessionHeader) - 1; On 2014/02/11 23:12:25, dcheng wrote: > ...
6 years, 10 months ago (2014-02-12 02:22:44 UTC) #18
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 10 months ago (2014-02-12 02:22:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/131653003/890002
6 years, 10 months ago (2014-02-12 02:25:28 UTC) #20
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-12 16:12:20 UTC) #21
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-12 16:14:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/131653003/890002
6 years, 10 months ago (2014-02-12 16:16:18 UTC) #23
xhwang
rebase only
6 years, 10 months ago (2014-02-12 19:06:02 UTC) #24
xhwang
6 years, 10 months ago (2014-02-12 19:09:45 UTC) #25
Message was sent while issue was closed.
Committed patchset #8 manually as r250769 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698