|
|
Block platform verification and file IO in the CDM adapter if the CDM configuration disallows access to them.
Based on the configured value of distinctiveIdentifier and persistentState, we compute permission bits and pass them through PPAPI to the CDM adapter. This enables us to enforce 'not-allowed' configs even when user permission has been granted.
BUG= 487452
Committed: https://crrev.com/f92575a5735f510fb159f3f1928f614e31c8a0f8
Cr-Commit-Position: refs/heads/master@{#319798}
Total comments: 29
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+233 lines, -109 lines) |
Patch |
 |
M |
content/renderer/media/crypto/ppapi_decryptor.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/crypto/ppapi_decryptor.cc
|
View
|
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/crypto/render_cdm_factory.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/crypto/render_cdm_factory.cc
|
View
|
1
2
3
|
4 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/content_decryptor_delegate.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/content_decryptor_delegate.cc
|
View
|
1
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/cdm_factory.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/blink/cdm_session_adapter.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/blink/cdm_session_adapter.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/blink/webcontentdecryptionmodule_impl.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/blink/webcontentdecryptionmodule_impl.cc
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/blink/webcontentdecryptionmoduleaccess_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/blink/webencryptedmediaclient_impl.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/blink/webencryptedmediaclient_impl.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cdm/default_cdm_factory.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cdm/default_cdm_factory.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cdm/ppapi/cdm_adapter.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cdm/ppapi/cdm_adapter.cc
|
View
|
1
|
5 chunks |
+41 lines, -27 lines |
0 comments
|
Download
|
 |
M |
media/cdm/proxy_decryptor.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/api/private/ppp_content_decryptor_private.idl
|
View
|
1
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_macros.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/private/ppp_content_decryptor_private.h
|
View
|
1
|
4 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/private/content_decryptor_private.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/cpp/private/content_decryptor_private.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
View
|
|
5 chunks |
+50 lines, -50 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_content_decryptor_private_proxy.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
View
|
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
Total messages: 29 (9 generated)
|