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

Issue 11348365: Encrypted Media: Allows empty key message to be fired. (Closed)

Created:
8 years ago by xhwang
Modified:
8 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Encrypted Media: Allows empty key message to be fired. This CL also changes the expected behavior of GenerateKeyRequest() of CleryKey key system when init_data is null. Previously it returns MediaKeyException (from render side) or fires KeyError (from plugin side). Now it fires an empty KeyMessage regardless. In the future the spec should be clear about this. BUG=163785 TEST=media Layout test; media_unittests; content_browsertests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171081

Patch Set 1 #

Total comments: 4

Patch Set 2 : nits #

Total comments: 2

Patch Set 3 : update doc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -40 lines) Patch
M media/crypto/aes_decryptor.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/api/private/ppb_content_decryptor_private.idl View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_content_decryptor_private.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 1 chunk +10 lines, -6 lines 0 comments Download
M webkit/plugins/ppapi/content_decryptor_delegate.cc View 1 2 1 chunk +25 lines, -12 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
xhwang
PTAL!
8 years ago (2012-12-04 00:27:12 UTC) #1
xhwang
FWIW, most of this CL will be gone when we pass back the message in ...
8 years ago (2012-12-04 00:31:11 UTC) #2
ddorwin
LGTM % nits https://codereview.chromium.org/11348365/diff/1/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): https://codereview.chromium.org/11348365/diff/1/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode247 webkit/media/crypto/ppapi/clear_key_cdm.cc:247: key_request->set_message(NULL); Is this not the default? ...
8 years ago (2012-12-04 01:44:09 UTC) #3
xhwang
dmichael: Could you please do an OWNERS review? https://codereview.chromium.org/11348365/diff/1/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): https://codereview.chromium.org/11348365/diff/1/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode247 webkit/media/crypto/ppapi/clear_key_cdm.cc:247: key_request->set_message(NULL); ...
8 years ago (2012-12-04 01:58:51 UTC) #4
dmichael (off chromium)
lgtm https://codereview.chromium.org/11348365/diff/4002/ppapi/proxy/ppb_instance_proxy.cc File ppapi/proxy/ppb_instance_proxy.cc (right): https://codereview.chromium.org/11348365/diff/4002/ppapi/proxy/ppb_instance_proxy.cc#newcode543 ppapi/proxy/ppb_instance_proxy.cc:543: PP_Resource host_resource = 0; Accepting 0 for the ...
8 years ago (2012-12-04 15:44:34 UTC) #5
xhwang
https://codereview.chromium.org/11348365/diff/4002/ppapi/proxy/ppb_instance_proxy.cc File ppapi/proxy/ppb_instance_proxy.cc (right): https://codereview.chromium.org/11348365/diff/4002/ppapi/proxy/ppb_instance_proxy.cc#newcode543 ppapi/proxy/ppb_instance_proxy.cc:543: PP_Resource host_resource = 0; On 2012/12/04 15:44:34, dmichael wrote: ...
8 years ago (2012-12-04 18:33:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11348365/2006
8 years ago (2012-12-04 20:33:27 UTC) #7
commit-bot: I haz the power
8 years ago (2012-12-04 23:39:02 UTC) #8
Message was sent while issue was closed.
Change committed as 171081

Powered by Google App Engine
This is Rietveld 408576698