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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 }; | 392 }; |
393 | 393 |
394 /** | 394 /** |
395 * <code>PP_DecryptorStreamType</code> contains stream type constants. | 395 * <code>PP_DecryptorStreamType</code> contains stream type constants. |
396 */ | 396 */ |
397 [assert_size(4)] | 397 [assert_size(4)] |
398 enum PP_DecryptorStreamType { | 398 enum PP_DecryptorStreamType { |
399 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, | 399 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, |
400 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 | 400 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 |
401 }; | 401 }; |
| 402 |
| 403 /** |
| 404 * <code>PP_SessionType</code> contains session type constants. |
| 405 */ |
| 406 [assert_size(4)] |
| 407 enum PP_SessionType { |
| 408 PP_SESSIONTYPE_TEMPORARY = 0, |
| 409 PP_SESSIONTYPE_PERSISTENT = 1 |
| 410 }; |
| 411 |
| 412 /** |
| 413 * <code>PP_ExceptionCodeType</code> contains exception code constants. |
| 414 */ |
| 415 [assert_size(4)] |
| 416 enum PP_ExceptionCodeType { |
| 417 PP_EXCEPTIONCODETYPE_NOMODIFICATIONALLOWEDERROR = 0, |
| 418 PP_EXCEPTIONCODETYPE_NOTFOUNDERROR = 1, |
| 419 PP_EXCEPTIONCODETYPE_NOTSUPPORTEDERROR = 2, |
| 420 PP_EXCEPTIONCODETYPE_INVALIDSTATEERROR = 3, |
| 421 PP_EXCEPTIONCODETYPE_SYNTAXERROR = 4, |
| 422 PP_EXCEPTIONCODETYPE_INVALIDMODIFICATIONERROR = 5, |
| 423 PP_EXCEPTIONCODETYPE_INVALIDACCESSERROR = 6, |
| 424 PP_EXCEPTIONCODETYPE_SECURITYERROR = 7, |
| 425 PP_EXCEPTIONCODETYPE_ABORTERROR = 8, |
| 426 PP_EXCEPTIONCODETYPE_QUOTAEXCEEDEDERROR = 9, |
| 427 PP_EXCEPTIONCODETYPE_TIMEOUTERROR = 10, |
| 428 PP_EXCEPTIONCODETYPE_UNKNOWNERROR = 11, |
| 429 PP_EXCEPTIONCODETYPE_DATAERROR = 12, |
| 430 PP_EXCEPTIONCODETYPE_VERSIONERROR = 13, |
| 431 PP_EXCEPTIONCODETYPE_NOTREADABLEERROR = 14, |
| 432 PP_EXCEPTIONCODETYPE_OPERATIONERROR = 15, |
| 433 PP_EXCEPTIONCODETYPE_CLIENTERROR = 16, |
| 434 PP_EXCEPTIONCODETYPE_OUTPUTERROR = 17 |
| 435 }; |
OLD | NEW |