| 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 }; | 435 }; |
| 436 | 436 |
| 437 /** | 437 /** |
| 438 * <code>PP_CdmKeyStatus</code> contains key status constants. | 438 * <code>PP_CdmKeyStatus</code> contains key status constants. |
| 439 */ | 439 */ |
| 440 [assert_size(4)] | 440 [assert_size(4)] |
| 441 enum PP_CdmKeyStatus { | 441 enum PP_CdmKeyStatus { |
| 442 PP_CDMKEYSTATUS_USABLE = 0, | 442 PP_CDMKEYSTATUS_USABLE = 0, |
| 443 PP_CDMKEYSTATUS_INVALID = 1, | 443 PP_CDMKEYSTATUS_INVALID = 1, |
| 444 PP_CDMKEYSTATUS_EXPIRED = 2, | 444 PP_CDMKEYSTATUS_EXPIRED = 2, |
| 445 PP_CDMKEYSTATUS_OUTPUTNOTALLOWED = 3 | 445 PP_CDMKEYSTATUS_OUTPUTNOTALLOWED = 3, |
| 446 PP_CDMKEYSTATUS_OUTPUTDOWNSCALED = 4, |
| 447 PP_CDMKEYSTATUS_STATUSPENDING = 5 |
| 446 }; | 448 }; |
| 447 | 449 |
| 448 /** | 450 /** |
| 449 * The <code>PP_KeyInformation</code> struct contains information about a | 451 * The <code>PP_KeyInformation</code> struct contains information about a |
| 450 * key used for decryption. | 452 * key used for decryption. |
| 451 */ | 453 */ |
| 452 [assert_size(524)] | 454 [assert_size(524)] |
| 453 struct PP_KeyInformation { | 455 struct PP_KeyInformation { |
| 454 /** | 456 /** |
| 455 * Key ID. | 457 * Key ID. |
| 456 */ | 458 */ |
| 457 uint8_t[512] key_id; | 459 uint8_t[512] key_id; |
| 458 uint32_t key_id_size; | 460 uint32_t key_id_size; |
| 459 | 461 |
| 460 /** | 462 /** |
| 461 * Status of this key. | 463 * Status of this key. |
| 462 */ | 464 */ |
| 463 PP_CdmKeyStatus key_status; | 465 PP_CdmKeyStatus key_status; |
| 464 | 466 |
| 465 /** | 467 /** |
| 466 * Optional error code for keys that are not usable. | 468 * Optional error code for keys that are not usable. |
| 467 */ | 469 */ |
| 468 uint32_t system_code; | 470 uint32_t system_code; |
| 469 }; | 471 }; |
| OLD | NEW |