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

Unified Diff: ppapi/api/private/ppp_content_decryptor_private.idl

Issue 1102363005: Initialize the CDM asynchronously (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create() changes Created 5 years, 8 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
Index: ppapi/api/private/ppp_content_decryptor_private.idl
diff --git a/ppapi/api/private/ppp_content_decryptor_private.idl b/ppapi/api/private/ppp_content_decryptor_private.idl
index 561ae30926e5b10ca0ad61f67c7c3d1656162b52..20a56a7b01a1b6d58dfad7340a5841280fb7f014 100644
--- a/ppapi/api/private/ppp_content_decryptor_private.idl
+++ b/ppapi/api/private/ppp_content_decryptor_private.idl
@@ -9,7 +9,7 @@
* Decryption Modules, not normal plugins.
*/
label Chrome {
- M43 = 0.14
+ M44 = 0.15
};
/**
@@ -23,6 +23,9 @@ interface PPP_ContentDecryptor_Private {
/**
* Initialize for the specified key system.
*
+ * @param[in] promise_id A reference for the promise that gets resolved or
+ * rejected depending upon the success or failure of initialization.
+ *
* @param[in] key_system A <code>PP_Var</code> of type
* <code>PP_VARTYPE_STRING</code> containing the name of the key system.
* @param[in] allow_distinctive_identifier Inform the CDM that it may use a
@@ -32,6 +35,7 @@ interface PPP_ContentDecryptor_Private {
*/
void Initialize(
[in] PP_Instance instance,
+ [in] uint32_t promise_id,
[in] PP_Var key_system,
[in] PP_Bool allow_distinctive_identifier,
[in] PP_Bool allow_persistent_state);

Powered by Google App Engine
This is Rietveld 408576698