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 Wed Apr 9 10:36:52 2014. */ | 6 /* From private/pp_content_decryptor.idl modified Thu Jun 5 13:39:15 2014. */ |
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 * @{ | 442 * @{ |
443 */ | 443 */ |
444 /** | 444 /** |
445 * <code>PP_DecryptorStreamType</code> contains stream type constants. | 445 * <code>PP_DecryptorStreamType</code> contains stream type constants. |
446 */ | 446 */ |
447 typedef enum { | 447 typedef enum { |
448 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, | 448 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, |
449 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 | 449 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 |
450 } PP_DecryptorStreamType; | 450 } PP_DecryptorStreamType; |
451 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptorStreamType, 4); | 451 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptorStreamType, 4); |
| 452 |
| 453 /** |
| 454 * <code>PP_SessionType</code> contains session type constants. |
| 455 */ |
| 456 typedef enum { |
| 457 PP_SESSIONTYPE_TEMPORARY = 0, |
| 458 PP_SESSIONTYPE_PERSISTENT = 1 |
| 459 } PP_SessionType; |
| 460 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_SessionType, 4); |
| 461 |
| 462 /** |
| 463 * <code>PP_CdmExceptionCode</code> contains exception code constants. |
| 464 */ |
| 465 typedef enum { |
| 466 PP_CDMEXCEPTIONCODE_NOTSUPPORTEDERROR = 1, |
| 467 PP_CDMEXCEPTIONCODE_INVALIDSTATEERROR = 2, |
| 468 PP_CDMEXCEPTIONCODE_INVALIDACCESSERROR = 3, |
| 469 PP_CDMEXCEPTIONCODE_QUOTAEXCEEDEDERROR = 4, |
| 470 PP_CDMEXCEPTIONCODE_UNKNOWNERROR = 5, |
| 471 PP_CDMEXCEPTIONCODE_CLIENTERROR = 6, |
| 472 PP_CDMEXCEPTIONCODE_OUTPUTERROR = 7 |
| 473 } PP_CdmExceptionCode; |
| 474 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CdmExceptionCode, 4); |
452 /** | 475 /** |
453 * @} | 476 * @} |
454 */ | 477 */ |
455 | 478 |
456 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ | 479 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ |
457 | 480 |
OLD | NEW |