| 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/pp_content_decryptor.idl modified Thu Mar 19 16:04:42 2015. */ | 6 /* From private/pp_content_decryptor.idl modified Wed Apr 22 13:38:55 2015. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ | 8 #ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ |
| 9 #define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ | 9 #define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
| 12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * @file | 15 * @file |
| 16 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information | 16 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 typedef enum { | 164 typedef enum { |
| 165 /** The decryption (and/or decoding) operation finished successfully. */ | 165 /** The decryption (and/or decoding) operation finished successfully. */ |
| 166 PP_DECRYPTRESULT_SUCCESS = 0, | 166 PP_DECRYPTRESULT_SUCCESS = 0, |
| 167 /** The decryptor did not have the necessary decryption key. */ | 167 /** The decryptor did not have the necessary decryption key. */ |
| 168 PP_DECRYPTRESULT_DECRYPT_NOKEY = 1, | 168 PP_DECRYPTRESULT_DECRYPT_NOKEY = 1, |
| 169 /** The input was accepted by the decoder but no frame(s) can be produced. */ | 169 /** The input was accepted by the decoder but no frame(s) can be produced. */ |
| 170 PP_DECRYPTRESULT_NEEDMOREDATA = 2, | 170 PP_DECRYPTRESULT_NEEDMOREDATA = 2, |
| 171 /** An unexpected error happened during decryption. */ | 171 /** An unexpected error happened during decryption. */ |
| 172 PP_DECRYPTRESULT_DECRYPT_ERROR = 3, | 172 PP_DECRYPTRESULT_DECRYPT_ERROR = 3, |
| 173 /** An unexpected error happened during decoding. */ | 173 /** An unexpected error happened during decoding. */ |
| 174 PP_DECRYPTRESULT_DECODE_ERROR = 4 | 174 PP_DECRYPTRESULT_DECODE_ERROR = 4, |
| 175 /** Session management error. */ |
| 176 PP_DECRYPTRESULT_SESSION_ERROR = 5, |
| 177 /** Decoder is not ready for initialization. */ |
| 178 PP_DECRYPTRESULT_DEFERRED_INITIALIZATION = 6 |
| 175 } PP_DecryptResult; | 179 } PP_DecryptResult; |
| 176 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptResult, 4); | 180 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptResult, 4); |
| 177 /** | 181 /** |
| 178 * @} | 182 * @} |
| 179 */ | 183 */ |
| 180 | 184 |
| 181 /** | 185 /** |
| 182 * @addtogroup Structs | 186 * @addtogroup Structs |
| 183 * @{ | 187 * @{ |
| 184 */ | 188 */ |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 */ | 537 */ |
| 534 uint32_t system_code; | 538 uint32_t system_code; |
| 535 }; | 539 }; |
| 536 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_KeyInformation, 524); | 540 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_KeyInformation, 524); |
| 537 /** | 541 /** |
| 538 * @} | 542 * @} |
| 539 */ | 543 */ |
| 540 | 544 |
| 541 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ | 545 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ |
| 542 | 546 |
| OLD | NEW |