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..acaa4a43ba3e1389fd812a0d0d83f3b0b85b20d2 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,20 @@ 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] key_system_flags A <code>PP_KeySystemFlags</code> that |
| + * contains additional information on <code>key_system</code>. |
|
ddorwin
2013/09/18 21:26:53
contains configuration information.
or something
jrummell
2013/09/19 00:37:28
Done.
|
| + */ |
| + void Initialize( |
| + [in] PP_Instance instance, |
| + [in] PP_Var key_system, |
| + [in] PP_KeySystemFlags key_system_flags); |
|
dmichael (off chromium)
2013/09/18 22:52:32
Do you expect there to be a lot of these? I don't
jrummell
2013/09/19 00:37:28
Switched to a bool.
|
| + |
| + /** |
| * 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 +44,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 +53,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); |