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

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

Issue 11270057: Add type argument to pepper content decryptor method GenerateKeyRequest(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 640553d5761a0c8d716d44e52cea7e26dfd8bf52..90658282784ad1652e12fe60d4617439c929bba0 100644
--- a/ppapi/api/private/ppp_content_decryptor_private.idl
+++ b/ppapi/api/private/ppp_content_decryptor_private.idl
@@ -22,8 +22,8 @@ label Chrome {
interface PPP_ContentDecryptor_Private {
/**
* Generates a key request. key_system specifies the key or licensing system
- * to use. init_data is a data buffer containing data for use in generating
- * the request.
+ * to use. mime_type contains the MIME type of init_data. init_data is a data
ddorwin 2012/10/26 18:37:06 The spec (like the existing <video> spec) uses jus
Tom Finegan 2012/10/26 22:51:33 Done.
+ * buffer containing data for use in generating the request.
*
* Note: <code>GenerateKeyRequest()</code> must create the session ID used in
* other methods on this interface. The session ID must be provided to the
@@ -33,6 +33,9 @@ interface PPP_ContentDecryptor_Private {
* @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] mime_type A <code>PP_Var</code> of type
+ * <code>PP_VARTYPE_STRING</code> containing the MIME type for init_data.
+ *
* @param[in] init_data A <code>PP_Var</code> of type
* <code>PP_VARTYPE_ARRAYBUFFER</code> containing container specific
* initialization data.
@@ -40,6 +43,7 @@ interface PPP_ContentDecryptor_Private {
void GenerateKeyRequest(
[in] PP_Instance instance,
[in] PP_Var key_system,
+ [in] PP_Var mime_type,
[in] PP_Var init_data);
/**
« no previous file with comments | « no previous file | ppapi/c/private/ppp_content_decryptor_private.h » ('j') | ppapi/cpp/private/content_decryptor_private.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698