|
Call CDMWrapper from PpapiDecryptor.
This CL is for testing purpose only. No need to review.
This CL is based on http://codereview.chromium.org/10545036/#ps78002 (Patch Set 25).
Now that PpapiDecryptor::GenerateKeyRequest will call into the CDMWrapper and KeyMessage is called from the plugin into the PluginInstance. With this, we don't need to hack from WebMediaPlayerImpl anymore.
To run the test:
src/out/Debug/chrome --enable-video-track --enable-media-source --enable-encrypted-media --no-sandbox --register-pepper-plugins="src/out/Debug/lib/libppapi_example_content_decryptor.so;application/x-ppapi-content-encryption" --vmodule=pipeline*=1,proxy*=3,aes*=3,ppapi_de*=3
BUG=none
TEST=none
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+400 lines, -128 lines) |
Patch |
 |
A |
ppapi/api/dev/pp_decryption_buffer_dev.idl
|
View
|
1
2
|
1 chunk |
+59 lines, -0 lines |
3 comments
|
Download
|
 |
M |
ppapi/api/dev/ppb_content_decryptor_dev.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/api/dev/ppp_content_decryptor_dev.idl
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A |
ppapi/c/dev/pp_decryption_buffer_dev.h
|
View
|
1
2
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_content_decryptor_dev.h
|
View
|
1
2
|
4 chunks |
+21 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_content_decryptor_dev.h
|
View
|
1
2
|
3 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/content_decryptor_dev.h
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/content_decryptor_dev.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/examples/content_decryptor/content_decryptor.cc
|
View
|
1
2
|
9 chunks |
+45 lines, -28 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_content_decryptor_thunk.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_instance_api.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/media/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/media/crypto/key_systems.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/media/crypto/ppapi_decryptor.h
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/media/crypto/ppapi_decryptor.cc
|
View
|
1
2
|
6 chunks |
+59 lines, -14 lines |
1 comment
|
Download
|
 |
M |
webkit/plugins/ppapi/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.h
|
View
|
1
2
|
5 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
View
|
1
2
|
14 chunks |
+88 lines, -24 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|