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

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: Remove PASS_REF 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 /** 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 {
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698