OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* From private/ppb_content_decryptor_private.idl, | 6 /* From private/ppb_content_decryptor_private.idl, |
7 * modified Mon Dec 10 21:43:51 2012. | 7 * modified Thu Mar 28 15:22:02 2013. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ | 10 #ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ |
11 #define PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ | 11 #define PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ |
12 | 12 |
13 #include "ppapi/c/pp_bool.h" | 13 #include "ppapi/c/pp_bool.h" |
14 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
15 #include "ppapi/c/pp_macros.h" | 15 #include "ppapi/c/pp_macros.h" |
16 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
17 #include "ppapi/c/pp_stdint.h" | 17 #include "ppapi/c/pp_stdint.h" |
(...skipping 28 matching lines...) Expand all Loading... |
46 /** | 46 /** |
47 * The decryptor requires a key that has not been provided. | 47 * The decryptor requires a key that has not been provided. |
48 * | 48 * |
49 * Sent when the decryptor encounters encrypted content, but it does not have | 49 * Sent when the decryptor encounters encrypted content, but it does not have |
50 * the key required to decrypt the data. The plugin will call this method in | 50 * the key required to decrypt the data. The plugin will call this method in |
51 * response to a call to the <code>Decrypt()</code> method on the | 51 * response to a call to the <code>Decrypt()</code> method on the |
52 * <code>PPP_ContentDecryptor_Private<code> interface. | 52 * <code>PPP_ContentDecryptor_Private<code> interface. |
53 * | 53 * |
54 * The browser must notify the application that a key is needed, and, in | 54 * The browser must notify the application that a key is needed, and, in |
55 * response, the web application must direct the browser to call | 55 * response, the web application must direct the browser to call |
56 * <code>AddKey()</code> on the <code>PPP_ContentDecryptor_Private<code> | 56 * <code>AddKey()</code> on the <code>PPP_ContentDecryptor_Private</code> |
57 * interface. | 57 * interface. |
58 * | 58 * |
59 * @param[in] key_system A <code>PP_Var</code> of type | 59 * @param[in] key_system A <code>PP_Var</code> of type |
60 * <code>PP_VARTYPE_STRING</code> containing the name of the key system. | 60 * <code>PP_VARTYPE_STRING</code> containing the name of the key system. |
61 * | 61 * |
62 * @param[in] session_id A <code>PP_Var</code> of type | 62 * @param[in] session_id A <code>PP_Var</code> of type |
63 * <code>PP_VARTYPE_STRING</code> containing the session ID. | 63 * <code>PP_VARTYPE_STRING</code> containing the session ID. |
64 * | 64 * |
65 * @param[in] init_data A <code>PP_Var</code> of type | 65 * @param[in] init_data A <code>PP_Var</code> of type |
66 * <code>PP_VARTYPE_ARRAY_BUFFER</code> containing container-specific | 66 * <code>PP_VARTYPE_ARRAY_BUFFER</code> containing container-specific |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 const struct PP_DecryptedBlockInfo* decrypted_block_info); | 271 const struct PP_DecryptedBlockInfo* decrypted_block_info); |
272 }; | 272 }; |
273 | 273 |
274 typedef struct PPB_ContentDecryptor_Private_0_6 PPB_ContentDecryptor_Private; | 274 typedef struct PPB_ContentDecryptor_Private_0_6 PPB_ContentDecryptor_Private; |
275 /** | 275 /** |
276 * @} | 276 * @} |
277 */ | 277 */ |
278 | 278 |
279 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ | 279 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ |
280 | 280 |
OLD | NEW |