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

Issue 10575026: Add ProxyDecryptor which wraps concrete Decryptor implementations. (Closed)

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

Description

Add ProxyDecryptor which wraps concrete Decryptor implementations. For now it only wraps AesDecryptor. In the future it will also wrap PpapiDecryptor. BUG=123260 TEST=media_unittests, media layout tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144869

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move proxy_decryptor.* into webkit/media/crypto/ #

Total comments: 16

Patch Set 3 : Revise on comments. #

Total comments: 22

Patch Set 4 : Add CreateDecryptor in key_system.* #

Total comments: 9

Patch Set 5 : Fixed nits and rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -131 lines) Patch
M webkit/glue/simple_webmimeregistry_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + webkit/media/crypto/key_systems.h View 1 2 3 4 2 chunks +15 lines, -3 lines 0 comments Download
A + webkit/media/crypto/key_systems.cc View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
A webkit/media/crypto/proxy_decryptor.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A webkit/media/crypto/proxy_decryptor.cc View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
D webkit/media/key_systems.h View 1 2 1 chunk +0 lines, -30 lines 0 comments Download
D webkit/media/key_systems.cc View 1 2 1 chunk +0 lines, -78 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 2 3 4 3 chunks +8 lines, -2 lines 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 4 12 chunks +35 lines, -14 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
xhwang
Hello scherkus and ddorwin, This is the CL that introduces the ProxyDecryptor. Please review. xhwang ...
8 years, 6 months ago (2012-06-20 00:49:57 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/10575026/diff/3001/webkit/media/crypto/proxy_decryptor.cc File webkit/media/crypto/proxy_decryptor.cc (right): http://codereview.chromium.org/10575026/diff/3001/webkit/media/crypto/proxy_decryptor.cc#newcode16 webkit/media/crypto/proxy_decryptor.cc:16: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; this is declared in ...
8 years, 6 months ago (2012-06-21 21:17:16 UTC) #2
xhwang
http://codereview.chromium.org/10575026/diff/3001/webkit/media/crypto/proxy_decryptor.cc File webkit/media/crypto/proxy_decryptor.cc (right): http://codereview.chromium.org/10575026/diff/3001/webkit/media/crypto/proxy_decryptor.cc#newcode16 webkit/media/crypto/proxy_decryptor.cc:16: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; On 2012/06/21 21:17:16, scherkus ...
8 years, 6 months ago (2012-06-22 16:57:30 UTC) #3
scherkus (not reviewing)
ping -- did you mean to upload a new copy of the code?
8 years, 6 months ago (2012-06-26 03:12:27 UTC) #4
xhwang
On 2012/06/26 03:12:27, scherkus wrote: > ping -- did you mean to upload a new ...
8 years, 6 months ago (2012-06-26 04:24:02 UTC) #5
xhwang
New patch uploaded. Please review again. http://codereview.chromium.org/10575026/diff/3001/webkit/media/crypto/proxy_decryptor.cc File webkit/media/crypto/proxy_decryptor.cc (right): http://codereview.chromium.org/10575026/diff/3001/webkit/media/crypto/proxy_decryptor.cc#newcode16 webkit/media/crypto/proxy_decryptor.cc:16: const char kClearKeyKeySystem[] ...
8 years, 6 months ago (2012-06-26 23:45:50 UTC) #6
scherkus (not reviewing)
http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h File webkit/media/crypto/key_systems.h (right): http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h#newcode17 webkit/media/crypto/key_systems.h:17: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; this can be declared ...
8 years, 6 months ago (2012-06-27 01:10:18 UTC) #7
ddorwin
LG overall http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/DEPS File webkit/media/crypto/DEPS (right): http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/DEPS#newcode2 webkit/media/crypto/DEPS:2: "+media/base", Do we not inherit +media from ...
8 years, 6 months ago (2012-06-27 04:00:08 UTC) #8
ddorwin
http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h File webkit/media/crypto/key_systems.h (right): http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h#newcode17 webkit/media/crypto/key_systems.h:17: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; On 2012/06/27 01:10:18, scherkus ...
8 years, 6 months ago (2012-06-27 04:07:15 UTC) #9
scherkus (not reviewing)
http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h File webkit/media/crypto/key_systems.h (right): http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h#newcode17 webkit/media/crypto/key_systems.h:17: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; On 2012/06/27 04:07:15, ddorwin ...
8 years, 6 months ago (2012-06-27 04:22:23 UTC) #10
ddorwin
http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h File webkit/media/crypto/key_systems.h (right): http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h#newcode17 webkit/media/crypto/key_systems.h:17: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; On 2012/06/27 04:22:23, scherkus ...
8 years, 6 months ago (2012-06-27 05:24:41 UTC) #11
scherkus (not reviewing)
http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h File webkit/media/crypto/key_systems.h (right): http://codereview.chromium.org/10575026/diff/19001/webkit/media/crypto/key_systems.h#newcode17 webkit/media/crypto/key_systems.h:17: const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; On 2012/06/27 05:24:41, ddorwin ...
8 years, 6 months ago (2012-06-27 05:34:11 UTC) #12
xhwang
Updated as discussed. Please review again. scherkus: please pay attention to webkit/media/crypto/DEPS. I was following ...
8 years, 5 months ago (2012-06-27 21:41:26 UTC) #13
scherkus (not reviewing)
LGTM w/ nits http://codereview.chromium.org/10575026/diff/35001/webkit/media/crypto/DEPS File webkit/media/crypto/DEPS (right): http://codereview.chromium.org/10575026/diff/35001/webkit/media/crypto/DEPS#newcode1 webkit/media/crypto/DEPS:1: include_rules = [ yeah we don't ...
8 years, 5 months ago (2012-06-28 18:32:52 UTC) #14
ddorwin
LGTM w/ comments. http://codereview.chromium.org/10575026/diff/35001/webkit/media/crypto/key_systems.cc File webkit/media/crypto/key_systems.cc (right): http://codereview.chromium.org/10575026/diff/35001/webkit/media/crypto/key_systems.cc#newcode8 webkit/media/crypto/key_systems.cc:8: #include "media/base/decryptor_client.h" Is this one necessary? ...
8 years, 5 months ago (2012-06-28 22:15:38 UTC) #15
xhwang
http://codereview.chromium.org/10575026/diff/35001/webkit/media/crypto/DEPS File webkit/media/crypto/DEPS (right): http://codereview.chromium.org/10575026/diff/35001/webkit/media/crypto/DEPS#newcode1 webkit/media/crypto/DEPS:1: include_rules = [ On 2012/06/28 18:32:52, scherkus wrote: > ...
8 years, 5 months ago (2012-06-28 23:31:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10575026/41002
8 years, 5 months ago (2012-06-28 23:32:12 UTC) #17
commit-bot: I haz the power
Presubmit check for 10575026-41002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-06-28 23:32:15 UTC) #18
xhwang
Hello brettw, I need your OWNERS' review on this file: webkit/glue/simple_webmimeregistry_impl.cc It's just an include ...
8 years, 5 months ago (2012-06-28 23:35:49 UTC) #19
brettw
LGTM
8 years, 5 months ago (2012-06-28 23:45:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10575026/41002
8 years, 5 months ago (2012-06-28 23:45:51 UTC) #21
commit-bot: I haz the power
Try job failure for 10575026-41002 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-29 00:17:19 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/10575026/41002
8 years, 5 months ago (2012-06-29 00:20:37 UTC) #23
commit-bot: I haz the power
8 years, 5 months ago (2012-06-29 03:05:35 UTC) #24
Change committed as 144869

Powered by Google App Engine
This is Rietveld 408576698