|
Initialize the CDM asynchronously
Currently initialization happens asynchronously, but as Initialize()
has no way to report success/failure, subsequent calls need to check
that it succeeded. This change passes a promise to Initialize() so
that the CDM can report success/failure properly.
BUG= 407435, 469003
TEST=EME tests pass
Committed: https://crrev.com/87a2db5daf3fbada56114caa4bb61e596ad459a2
Cr-Commit-Position: refs/heads/master@{#328418}
Total comments: 8
Total comments: 16
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+288 lines, -204 lines) |
Patch |
|
M |
chrome/browser/media/encrypted_media_browsertest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/media/crypto/cdm_initialized_promise.h
|
View
|
1
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/media/crypto/cdm_initialized_promise.cc
|
View
|
1
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/ppapi_decryptor.h
|
View
|
1
|
5 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/ppapi_decryptor.cc
|
View
|
1
2
|
5 chunks |
+30 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/proxy_media_keys.h
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/proxy_media_keys.cc
|
View
|
1
2
3
4
|
4 chunks |
+18 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/render_cdm_factory.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/crypto/render_cdm_factory.cc
|
View
|
1
2
3
4
|
3 chunks |
+27 lines, -22 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/content_decryptor_delegate.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/pepper/content_decryptor_delegate.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/base/cdm_factory.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/blink/webmediaplayer_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
media/cdm/ppapi/cdm_adapter.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/cdm/ppapi/cdm_adapter.cc
|
View
|
1
2
3
4
|
5 chunks |
+19 lines, -58 lines |
0 comments
|
Download
|
|
M |
media/cdm/proxy_decryptor.cc
|
View
|
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
ppapi/api/private/ppp_content_decryptor_private.idl
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/c/private/ppp_content_decryptor_private.h
|
View
|
|
5 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
ppapi/cpp/private/content_decryptor_private.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/cpp/private/content_decryptor_private.cc
|
View
|
|
2 chunks |
+5 lines, -4 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 |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppp_content_decryptor_private_proxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
View
|
|
3 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
Total messages: 25 (7 generated)
|