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

Issue 11270057: Add type argument to pepper content decryptor method GenerateKeyRequest(). (Closed)

Created:
8 years, 1 month ago by Tom Finegan
Modified:
8 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yzshen+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Add type argument to pepper content decryptor method GenerateKeyRequest(). The type argument is used to carry a MIME type that identifies the type of initialization data. TEST=encrypted ExternalClearKey tests pass Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164757

Patch Set 1 #

Total comments: 13

Patch Set 2 : Rebased on 11274065, and addressed comments. #

Total comments: 10

Patch Set 3 : Address comments. #

Total comments: 6

Patch Set 4 : Fix nits. #

Patch Set 5 : Rebased and addressed TODOs related to integration of this CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -101 lines) Patch
M ppapi/api/private/ppb_content_decryptor_private.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/api/private/ppp_content_decryptor_private.idl View 1 4 chunks +7 lines, -3 lines 0 comments Download
M ppapi/c/private/ppb_content_decryptor_private.h View 1 4 chunks +6 lines, -6 lines 0 comments Download
M ppapi/c/private/ppp_content_decryptor_private.h View 1 5 chunks +12 lines, -8 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 4 chunks +12 lines, -6 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 11 chunks +40 lines, -40 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 3 chunks +4 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_content_decryptor_private_thunk.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.h View 1 2 3 4 1 chunk +5 lines, -9 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 3 chunks +11 lines, -5 lines 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 3 4 3 chunks +14 lines, -17 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Tom Finegan
PTAL, thanks!
8 years, 1 month ago (2012-10-26 04:44:25 UTC) #1
xhwang
lgtm % nits http://codereview.chromium.org/11270057/diff/1/ppapi/cpp/private/content_decryptor_private.cc File ppapi/cpp/private/content_decryptor_private.cc (right): http://codereview.chromium.org/11270057/diff/1/ppapi/cpp/private/content_decryptor_private.cc#newcode40 ppapi/cpp/private/content_decryptor_private.cc:40: if (mime_type_var.is_string() == false) not sure ...
8 years, 1 month ago (2012-10-26 06:19:29 UTC) #2
ddorwin
lgtm % comments http://codereview.chromium.org/11270057/diff/1/ppapi/api/private/ppp_content_decryptor_private.idl File ppapi/api/private/ppp_content_decryptor_private.idl (right): http://codereview.chromium.org/11270057/diff/1/ppapi/api/private/ppp_content_decryptor_private.idl#newcode25 ppapi/api/private/ppp_content_decryptor_private.idl:25: * to use. mime_type contains the ...
8 years, 1 month ago (2012-10-26 18:37:05 UTC) #3
Tom Finegan
Comments addressed, and rebased on CQ'd CL. PTAL, thanks! (and sorry for the rebase noise) ...
8 years, 1 month ago (2012-10-26 22:51:33 UTC) #4
ddorwin
Thanks. I need to look at the last 5 files again, but let's address these ...
8 years, 1 month ago (2012-10-26 23:00:11 UTC) #5
xhwang
Please also update the CL descryption. http://codereview.chromium.org/11270057/diff/9003/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11270057/diff/9003/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode443 webkit/media/crypto/ppapi/cdm_wrapper.cc:443: const std::string& mime_type, ...
8 years, 1 month ago (2012-10-26 23:08:09 UTC) #6
Tom Finegan
PTAL. http://codereview.chromium.org/11270057/diff/9003/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11270057/diff/9003/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode443 webkit/media/crypto/ppapi/cdm_wrapper.cc:443: const std::string& mime_type, On 2012/10/26 23:08:09, xhwang wrote: ...
8 years, 1 month ago (2012-10-26 23:30:18 UTC) #7
xhwang
lgtm % tiny tiny nits http://codereview.chromium.org/11270057/diff/6014/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): http://codereview.chromium.org/11270057/diff/6014/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode121 webkit/media/crypto/ppapi/clear_key_cdm.cc:121: const std::string kExternalClearKeyString = ...
8 years, 1 month ago (2012-10-26 23:39:15 UTC) #8
ddorwin
lgtm % comments http://codereview.chromium.org/11270057/diff/6014/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): http://codereview.chromium.org/11270057/diff/6014/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode121 webkit/media/crypto/ppapi/clear_key_cdm.cc:121: const std::string kExternalClearKeyString = kExternalClearKey; On ...
8 years, 1 month ago (2012-10-26 23:47:46 UTC) #9
Tom Finegan
dmichael, Please do an owners review of this CL. Thanks! http://codereview.chromium.org/11270057/diff/6014/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): http://codereview.chromium.org/11270057/diff/6014/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode121 ...
8 years, 1 month ago (2012-10-26 23:52:24 UTC) #10
dmichael (off chromium)
lgtm for ppapi stuff. And obligatory nags: - Do you have any tests? - Don't ...
8 years, 1 month ago (2012-10-29 17:13:51 UTC) #11
Tom Finegan
On 2012/10/29 17:13:51, dmichael wrote: > lgtm for ppapi stuff. > > And obligatory nags: ...
8 years, 1 month ago (2012-10-29 17:23:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/11270057/24003
8 years, 1 month ago (2012-10-29 18:59:41 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-10-29 22:50:26 UTC) #14
Change committed as 164757

Powered by Google App Engine
This is Rietveld 408576698