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

Side by Side Diff: ppapi/api/private/pp_content_decryptor.idl

Issue 265993002: Add Promises for EME (Chromium side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 7 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 /** 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
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 {
417 PP_EXCEPTIONCODE_NOMODIFICATIONALLOWEDERROR = 0,
418 PP_EXCEPTIONCODE_NOTFOUNDERROR = 1,
419 PP_EXCEPTIONCODE_NOTSUPPORTEDERROR = 2,
420 PP_EXCEPTIONCODE_INVALIDSTATEERROR = 3,
421 PP_EXCEPTIONCODE_INVALIDMODIFICATIONERROR = 4,
422 PP_EXCEPTIONCODE_INVALIDACCESSERROR = 5,
423 PP_EXCEPTIONCODE_SECURITYERROR = 6,
424 PP_EXCEPTIONCODE_ABORTERROR = 7,
425 PP_EXCEPTIONCODE_QUOTAEXCEEDEDERROR = 8,
426 PP_EXCEPTIONCODE_TIMEOUTERROR = 9,
427 PP_EXCEPTIONCODE_UNKNOWNERROR = 10,
428 PP_EXCEPTIONCODE_DATAERROR = 11,
429 PP_EXCEPTIONCODE_VERSIONERROR = 12,
430 PP_EXCEPTIONCODE_NOTREADABLEERROR = 13,
431 PP_EXCEPTIONCODE_OPERATIONERROR = 14,
432 PP_EXCEPTIONCODE_CLIENTERROR = 15,
433 PP_EXCEPTIONCODE_OUTPUTERROR = 16
434 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698