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

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

Issue 24192004: Changes to the EME Pepper API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 c36259a90dec291862c61e53f3b24e55fb8d9d9f..5eba37a8c2af8ea3c8f609bbcfcbd4bec38cbc24 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 {
- M24 = 0.6
+ M31 = 0.7
};
/**
@@ -21,6 +21,21 @@ label Chrome {
*/
interface PPP_ContentDecryptor_Private {
/**
+ * Initialize for the specified key system.
+ *
+ * @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] can_challenge_platform A <code>PP_Bool</code> that
+ * indicates if the underlying host platform can be challenged;
+ * i.e., verified as a trusted platform.
+ */
+ void Initialize(
+ [in] PP_Instance instance,
+ [in] PP_Var key_system,
+ [in] PP_Bool can_challenge_platform);
+
+ /**
* Generates a key request. key_system specifies the key or licensing system
* to use. type contains the MIME type of init_data. init_data is a data
* buffer containing data for use in generating the request.
@@ -30,9 +45,6 @@ interface PPP_ContentDecryptor_Private {
* browser by the CDM via <code>KeyMessage()</code> on the
* <code>PPB_ContentDecryptor_Private</code> interface.
*
- * @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] type A <code>PP_Var</code> of type
* <code>PP_VARTYPE_STRING</code> containing the MIME type for init_data.
*
@@ -42,7 +54,6 @@ interface PPP_ContentDecryptor_Private {
*/
void GenerateKeyRequest(
[in] PP_Instance instance,
- [in] PP_Var key_system,
[in] PP_Var type,
[in] PP_Var init_data);
« no previous file with comments | « ppapi/api/private/ppb_content_decryptor_private.idl ('k') | ppapi/c/private/ppb_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698