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

Issue 10827280: Add PPAPI decryptor implementation. (Closed)

Created:
8 years, 4 months ago by Tom Finegan
Modified:
8 years, 4 months ago
CC:
strobe_, alcatraz-eng_google.com, scherkus (not reviewing)
Visibility:
Public.

Description

Add PPAPI decryptor implementation. BUG=138139 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152004

Patch Set 1 #

Patch Set 2 : s/PROXIED_IFACE/UNPROXIED_IFACE/ #

Patch Set 3 : Rebase on changes to interface CL. #

Patch Set 4 : Rebase on master + latest. #

Patch Set 5 : Fix proxied interface definition. #

Total comments: 34

Patch Set 6 : Proxy/out of process works w/GenerateKeyRequest and KeyMessage! \o/ #

Patch Set 7 : Partially address xhwang's comments, and fix some StringVar crashiness #

Total comments: 45

Patch Set 8 : Most of the proxy works on my machine (NeedKey untested, CancelKeyRequest weird/broken). #

Patch Set 9 : Fixed NeedKey, addressed all comments (excluding one of dmichael's). #

Total comments: 4

Patch Set 10 : Fixed CancelKeyRequest #

Patch Set 11 : All comments addressed-- please check ppapi_plugin_instance: I'm abusing LOG(INFO) to avoid compile… #

Total comments: 2

Patch Set 12 : Final clean up. Fixed sentence in TODO and removed unnecessary LOG(INFO)s. #

Patch Set 13 : Fix NACL related build errors #

Patch Set 14 : Forgot to rebase! #

Patch Set 15 : Fix link error, rebase again. #

Patch Set 16 : Fix another link error, and rebase again. #

Patch Set 17 : Fix another NACL link error, and rebase again. #

Patch Set 18 : Fix yet another link error, and rebase once again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1617 lines, -0 lines) Patch
A ppapi/cpp/private/content_decryptor_private.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +68 lines, -0 lines 0 comments Download
A ppapi/cpp/private/content_decryptor_private.cc View 1 2 3 4 5 6 7 1 chunk +239 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +11 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 3 chunks +65 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +53 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +199 lines, -0 lines 0 comments Download
A ppapi/proxy/ppp_content_decryptor_private_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +54 lines, -0 lines 0 comments Download
A ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +311 lines, -0 lines 0 comments Download
M ppapi/proxy/serialized_structs.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M ppapi/shared_impl/api_id.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/tests/all_cpp_includes.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_content_decryptor_private_thunk.cc View 1 2 3 4 5 6 7 1 chunk +98 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +28 lines, -0 lines 0 comments Download
A webkit/media/crypto/ppapi/DEPS View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 5 6 7 8 9 1 chunk +228 lines, -0 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 6 chunks +46 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +154 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Tom Finegan
Here's the new issue for review of PPAPI decryptor implementation.
8 years, 4 months ago (2012-08-10 15:33:18 UTC) #1
Tom Finegan
Reviewers: PTAL-- I'm testing the out of process stuff now, and early feedback is desperately ...
8 years, 4 months ago (2012-08-14 23:04:58 UTC) #2
xhwang
Reviewed code that I understand. Didn't review ppapi implementation details and use/conversion of ppapi variables. ...
8 years, 4 months ago (2012-08-15 00:27:57 UTC) #3
Tom Finegan
I've got out of process working w/dummy calls to GenerateKeyRequest and KeyMessage. PTAL at the ...
8 years, 4 months ago (2012-08-15 00:29:25 UTC) #4
dmichael (off chromium)
Have a few more files to look at after lunch... http://codereview.chromium.org/10827280/diff/6023/ppapi/cpp/private/content_decryptor_private.cc File ppapi/cpp/private/content_decryptor_private.cc (right): http://codereview.chromium.org/10827280/diff/6023/ppapi/cpp/private/content_decryptor_private.cc#newcode148 ...
8 years, 4 months ago (2012-08-15 17:44:37 UTC) #5
dmichael (off chromium)
http://codereview.chromium.org/10827280/diff/6023/ppapi/proxy/ppp_content_decryptor_private_proxy.cc File ppapi/proxy/ppp_content_decryptor_private_proxy.cc (right): http://codereview.chromium.org/10827280/diff/6023/ppapi/proxy/ppp_content_decryptor_private_proxy.cc#newcode168 ppapi/proxy/ppp_content_decryptor_private_proxy.cc:168: SerializedVarReceiveInput init_data) { I think you might need to ...
8 years, 4 months ago (2012-08-15 19:01:00 UTC) #6
ddorwin
Just skimmed a few files. http://codereview.chromium.org/10827280/diff/6023/webkit/media/crypto/DEPS File webkit/media/crypto/DEPS (right): http://codereview.chromium.org/10827280/diff/6023/webkit/media/crypto/DEPS#newcode1 webkit/media/crypto/DEPS:1: include_rules = [ Does ...
8 years, 4 months ago (2012-08-15 22:03:22 UTC) #7
Tom Finegan
With the exception of CancelKeyRequest and NeedKey the proxy is working. I'll look into those ...
8 years, 4 months ago (2012-08-16 03:10:48 UTC) #8
Tom Finegan
ddorwin, dmichael, xhwang, PTAL! Almost everything works... I'm hunting down a problem with CancelKeyRequest. For ...
8 years, 4 months ago (2012-08-16 16:15:45 UTC) #9
dmichael (off chromium)
http://codereview.chromium.org/10827280/diff/6023/ppapi/cpp/private/content_decryptor_private.h File ppapi/cpp/private/content_decryptor_private.h (right): http://codereview.chromium.org/10827280/diff/6023/ppapi/cpp/private/content_decryptor_private.h#newcode26 ppapi/cpp/private/content_decryptor_private.h:26: virtual bool GenerateKeyRequest(const std::string& key_system, On 2012/08/16 03:10:48, tomf ...
8 years, 4 months ago (2012-08-16 17:02:28 UTC) #10
Tom Finegan
ddorwin, xhwang, dmichael: I think we're ready to land. Please take a quick look at ...
8 years, 4 months ago (2012-08-16 18:10:58 UTC) #11
dmichael (off chromium)
lgtm If you really don't *want* the logging in there for now (i.e., it's *only* ...
8 years, 4 months ago (2012-08-16 18:51:00 UTC) #12
Tom Finegan
ddorwin, xhwang: Do you two want to take one last look? Fixed TODO and removed ...
8 years, 4 months ago (2012-08-16 19:08:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/13004
8 years, 4 months ago (2012-08-16 19:10:30 UTC) #14
commit-bot: I haz the power
Presubmit check for 10827280-13004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-16 19:10:44 UTC) #15
ddorwin
lgtm webkit/media LGTM.
8 years, 4 months ago (2012-08-16 19:32:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/13004
8 years, 4 months ago (2012-08-16 19:32:51 UTC) #17
commit-bot: I haz the power
Try job failure for 10827280-13004 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-16 19:54:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/14008
8 years, 4 months ago (2012-08-16 20:19:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/4032
8 years, 4 months ago (2012-08-16 20:38:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/5056
8 years, 4 months ago (2012-08-16 20:56:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/5058
8 years, 4 months ago (2012-08-16 21:10:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/10827280/8057
8 years, 4 months ago (2012-08-16 21:25:15 UTC) #23
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 00:18:45 UTC) #24
Change committed as 152004

Powered by Google App Engine
This is Rietveld 408576698