| 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 Tue Dec 4 16:42:46 2012. */ | 6 /* From private/pp_content_decryptor.idl modified Wed Sep 18 13:06:35 2013. */ |
| 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_bool.h" |
| 11 #include "ppapi/c/pp_macros.h" | 12 #include "ppapi/c/pp_macros.h" |
| 12 #include "ppapi/c/pp_stdint.h" | 13 #include "ppapi/c/pp_stdint.h" |
| 13 | 14 |
| 14 /** | 15 /** |
| 15 * @file | 16 * @file |
| 16 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information | 17 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information |
| 17 * that can be used to associate the decrypted block with a decrypt request | 18 * that can be used to associate the decrypted block with a decrypt request |
| 18 * and/or an input block. | 19 * and/or an input block. |
| 19 */ | 20 */ |
| 20 | 21 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 */ | 411 */ |
| 411 typedef enum { | 412 typedef enum { |
| 412 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, | 413 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, |
| 413 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 | 414 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 |
| 414 } PP_DecryptorStreamType; | 415 } PP_DecryptorStreamType; |
| 415 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptorStreamType, 4); | 416 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptorStreamType, 4); |
| 416 /** | 417 /** |
| 417 * @} | 418 * @} |
| 418 */ | 419 */ |
| 419 | 420 |
| 421 /** |
| 422 * @addtogroup Structs |
| 423 * @{ |
| 424 */ |
| 425 /** |
| 426 * <code>PP_KeySystemFlags</code> contains additional information for the key |
| 427 * system. |
| 428 */ |
| 429 struct PP_KeySystemFlags { |
| 430 /** |
| 431 * Indicates if the underlying host platform can be challenged; |
| 432 * i.e., verified as a trusted platform. |
| 433 */ |
| 434 PP_Bool can_challenge_platform; |
| 435 }; |
| 436 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_KeySystemFlags, 4); |
| 437 /** |
| 438 * @} |
| 439 */ |
| 440 |
| 420 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ | 441 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ |
| 421 | 442 |
| OLD | NEW |