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 Fri Oct 26 14:47:38 2012. | 7 * modified Tue Dec 4 10:30:29 2012. |
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 * <code>AddKey()</code> and <code>KeyMessage()</code> calls required to | 106 * <code>AddKey()</code> and <code>KeyMessage()</code> calls required to |
107 * prepare for decryption. | 107 * prepare for decryption. |
108 * | 108 * |
109 * @param[in] key_system A <code>PP_Var</code> of type | 109 * @param[in] key_system A <code>PP_Var</code> of type |
110 * <code>PP_VARTYPE_STRING</code> containing the name of the key system. | 110 * <code>PP_VARTYPE_STRING</code> containing the name of the key system. |
111 * | 111 * |
112 * @param[in] session_id A <code>PP_Var</code> of type | 112 * @param[in] session_id A <code>PP_Var</code> of type |
113 * <code>PP_VARTYPE_STRING</code> containing the session ID. | 113 * <code>PP_VARTYPE_STRING</code> containing the session ID. |
114 * | 114 * |
115 * @param[in] resource A <code>PP_Resource</code> corresponding to a | 115 * @param[in] resource A <code>PP_Resource</code> corresponding to a |
116 * <code>PPB_Buffer_Dev</code> resource that contains the message. | 116 * <code>PPB_Buffer_Dev</code> resource that contains the message. A 0 |
| 117 * resource is allowed which indicates an empty message. |
117 * | 118 * |
118 * @param[in] default_url A <code>PP_Var</code> of type | 119 * @param[in] default_url A <code>PP_Var</code> of type |
119 * <code>PP_VARTYPE_STRING</code> containing the default URL for the message. | 120 * <code>PP_VARTYPE_STRING</code> containing the default URL for the message. |
120 */ | 121 */ |
121 void (*KeyMessage)(PP_Instance instance, | 122 void (*KeyMessage)(PP_Instance instance, |
122 struct PP_Var key_system, | 123 struct PP_Var key_system, |
123 struct PP_Var session_id, | 124 struct PP_Var session_id, |
124 PP_Resource message, | 125 PP_Resource message, |
125 struct PP_Var default_url); | 126 struct PP_Var default_url); |
126 /** | 127 /** |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 const struct PP_DecryptedBlockInfo* decrypted_block_info); | 258 const struct PP_DecryptedBlockInfo* decrypted_block_info); |
258 }; | 259 }; |
259 | 260 |
260 typedef struct PPB_ContentDecryptor_Private_0_6 PPB_ContentDecryptor_Private; | 261 typedef struct PPB_ContentDecryptor_Private_0_6 PPB_ContentDecryptor_Private; |
261 /** | 262 /** |
262 * @} | 263 * @} |
263 */ | 264 */ |
264 | 265 |
265 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ | 266 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ |
266 | 267 |
OLD | NEW |