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

Unified Diff: ppapi/proxy/ppp_content_decryptor_private_proxy.h

Issue 265993002: Add Promises for EME (Chromium side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more trybot issue Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_content_decryptor_private_proxy.h
diff --git a/ppapi/proxy/ppp_content_decryptor_private_proxy.h b/ppapi/proxy/ppp_content_decryptor_private_proxy.h
index 2ed248477d9100b22158323b8032701d65e82ab4..f7c78baa6db38ae79e44dada2e2f3cc45f5a4c54 100644
--- a/ppapi/proxy/ppp_content_decryptor_private_proxy.h
+++ b/ppapi/proxy/ppp_content_decryptor_private_proxy.h
@@ -33,16 +33,20 @@ class PPP_ContentDecryptor_Private_Proxy : public InterfaceProxy {
void OnMsgInitialize(PP_Instance instance,
SerializedVarReceiveInput key_system);
void OnMsgCreateSession(PP_Instance instance,
- uint32_t session_id,
- SerializedVarReceiveInput content_type,
- SerializedVarReceiveInput init_data);
+ uint32_t promise_id,
+ SerializedVarReceiveInput init_data_type,
+ SerializedVarReceiveInput init_data,
+ PP_SessionType session_type);
void OnMsgLoadSession(PP_Instance instance,
- uint32_t session_id,
+ uint32_t promise_id,
SerializedVarReceiveInput web_session_id);
void OnMsgUpdateSession(PP_Instance instance,
- uint32_t session_id,
+ uint32_t promise_id,
+ SerializedVarReceiveInput web_session_id,
SerializedVarReceiveInput response);
- void OnMsgReleaseSession(PP_Instance instance, uint32_t session_id);
+ void OnMsgReleaseSession(PP_Instance instance,
+ uint32_t promise_id,
+ SerializedVarReceiveInput web_session_id);
void OnMsgDecrypt(PP_Instance instance,
const PPPDecryptor_Buffer& encrypted_buffer,
const std::string& serialized_encrypted_block_info);
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698