Chromium Code Reviews| 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); |
| /** |