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 c36259a90dec291862c61e53f3b24e55fb8d9d9f..fd8ca8d41f45a1e4306b7c76f78708f7df35732a 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,16 @@ 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. |
| + */ |
| + void Initialize( |
| + [in] PP_Instance instance, |
| + [in] PP_Var key_system); |
|
ddorwin
2013/09/17 23:15:42
What about the other values we discussed? Should w
jrummell
2013/09/18 21:01:15
Added PP_KeySystemFlags.
|
| + |
| + /** |
| * 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 +40,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 +49,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); |