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_ExceptionCode</code> contains exception code constants. | |
414 */ | |
415 [assert_size(4)] | |
416 enum PP_ExceptionCode { | |
dmichael (off chromium)
2014/06/05 18:55:30
Please name these PP_DecryptorFoo or something to
jrummell
2014/06/05 20:59:54
Rename PP_CdmExceptionCode.
| |
417 PP_EXCEPTIONCODE_NOTSUPPORTEDERROR = 1, | |
418 PP_EXCEPTIONCODE_INVALIDSTATEERROR = 2, | |
419 PP_EXCEPTIONCODE_INVALIDACCESSERROR = 3, | |
420 PP_EXCEPTIONCODE_QUOTAEXCEEDEDERROR = 4, | |
421 PP_EXCEPTIONCODE_UNKNOWNERROR = 5, | |
422 PP_EXCEPTIONCODE_CLIENTERROR = 6, | |
423 PP_EXCEPTIONCODE_OUTPUTERROR = 7 | |
424 }; | |
OLD | NEW |