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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/api/private/pp_content_decryptor.idl
diff --git a/ppapi/api/private/pp_content_decryptor.idl b/ppapi/api/private/pp_content_decryptor.idl
index 16be86edbf202f02cd1a09cc5021192b01ddd854..9c3fb0771e72072dfc29d28ac377e0ff385de4eb 100644
--- a/ppapi/api/private/pp_content_decryptor.idl
+++ b/ppapi/api/private/pp_content_decryptor.idl
@@ -399,3 +399,26 @@ enum PP_DecryptorStreamType {
PP_DECRYPTORSTREAMTYPE_AUDIO = 0,
PP_DECRYPTORSTREAMTYPE_VIDEO = 1
};
+
+/**
+ * <code>PP_SessionType</code> contains session type constants.
+ */
+[assert_size(4)]
+enum PP_SessionType {
+ PP_SESSIONTYPE_TEMPORARY = 0,
+ PP_SESSIONTYPE_PERSISTENT = 1
+};
+
+/**
+ * <code>PP_ExceptionCode</code> contains exception code constants.
+ */
+[assert_size(4)]
+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.
+ PP_EXCEPTIONCODE_NOTSUPPORTEDERROR = 1,
+ PP_EXCEPTIONCODE_INVALIDSTATEERROR = 2,
+ PP_EXCEPTIONCODE_INVALIDACCESSERROR = 3,
+ PP_EXCEPTIONCODE_QUOTAEXCEEDEDERROR = 4,
+ PP_EXCEPTIONCODE_UNKNOWNERROR = 5,
+ PP_EXCEPTIONCODE_CLIENTERROR = 6,
+ PP_EXCEPTIONCODE_OUTPUTERROR = 7
+};

Powered by Google App Engine
This is Rietveld 408576698