Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: ppapi/c/private/pp_content_decryptor.h

Issue 265993002: Add Promises for EME (Chromium side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more trybot issue Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ppapi/api/private/ppp_content_decryptor_private.idl ('k') | ppapi/c/private/ppb_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698