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 /** | 6 /** |
7 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information | 7 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information |
8 * that can be used to associate the decrypted block with a decrypt request | 8 * that can be used to associate the decrypted block with a decrypt request |
9 * and/or an input block. | 9 * and/or an input block. |
10 */ | 10 */ |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 enum PP_DecryptResult { | 150 enum PP_DecryptResult { |
151 /** The decryption (and/or decoding) operation finished successfully. */ | 151 /** The decryption (and/or decoding) operation finished successfully. */ |
152 PP_DECRYPTRESULT_SUCCESS = 0, | 152 PP_DECRYPTRESULT_SUCCESS = 0, |
153 /** The decryptor did not have the necessary decryption key. */ | 153 /** The decryptor did not have the necessary decryption key. */ |
154 PP_DECRYPTRESULT_DECRYPT_NOKEY = 1, | 154 PP_DECRYPTRESULT_DECRYPT_NOKEY = 1, |
155 /** The input was accepted by the decoder but no frame(s) can be produced. */ | 155 /** The input was accepted by the decoder but no frame(s) can be produced. */ |
156 PP_DECRYPTRESULT_NEEDMOREDATA = 2, | 156 PP_DECRYPTRESULT_NEEDMOREDATA = 2, |
157 /** An unexpected error happened during decryption. */ | 157 /** An unexpected error happened during decryption. */ |
158 PP_DECRYPTRESULT_DECRYPT_ERROR = 3, | 158 PP_DECRYPTRESULT_DECRYPT_ERROR = 3, |
159 /** An unexpected error happened during decoding. */ | 159 /** An unexpected error happened during decoding. */ |
160 PP_DECRYPTRESULT_DECODE_ERROR = 4 | 160 PP_DECRYPTRESULT_DECODE_ERROR = 4, |
161 /** Session management error. */ | |
ddorwin
2015/04/23 00:33:42
I don't think we need these.
| |
162 PP_DECRYPTRESULT_SESSION_ERROR = 5, | |
163 /** Decoder is not ready for initialization. */ | |
164 PP_DECRYPTRESULT_DEFERRED_INITIALIZATION = 6 | |
161 }; | 165 }; |
162 | 166 |
163 /** | 167 /** |
164 * <code>PP_DecryptedBlockInfo</code> struct contains the decryption result and | 168 * <code>PP_DecryptedBlockInfo</code> struct contains the decryption result and |
165 * tracking info associated with the decrypted block. | 169 * tracking info associated with the decrypted block. |
166 */ | 170 */ |
167 [assert_size(24)] | 171 [assert_size(24)] |
168 struct PP_DecryptedBlockInfo { | 172 struct PP_DecryptedBlockInfo { |
169 /** | 173 /** |
170 * Result of the decryption (and/or decoding) operation. | 174 * Result of the decryption (and/or decoding) operation. |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
472 /** | 476 /** |
473 * Status of this key. | 477 * Status of this key. |
474 */ | 478 */ |
475 PP_CdmKeyStatus key_status; | 479 PP_CdmKeyStatus key_status; |
476 | 480 |
477 /** | 481 /** |
478 * Optional error code for keys that are not usable. | 482 * Optional error code for keys that are not usable. |
479 */ | 483 */ |
480 uint32_t system_code; | 484 uint32_t system_code; |
481 }; | 485 }; |
OLD | NEW |