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

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: 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 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..4493c3eab7aeed2dfdec80e3ed1014ab0a69b7d4 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_CdmExceptionCode</code> contains exception code constants.
+ */
+[assert_size(4)]
+enum PP_CdmExceptionCode {
+ PP_CDMEXCEPTIONCODE_NOTSUPPORTEDERROR = 1,
+ PP_CDMEXCEPTIONCODE_INVALIDSTATEERROR = 2,
+ PP_CDMEXCEPTIONCODE_INVALIDACCESSERROR = 3,
+ PP_CDMEXCEPTIONCODE_QUOTAEXCEEDEDERROR = 4,
+ PP_CDMEXCEPTIONCODE_UNKNOWNERROR = 5,
+ PP_CDMEXCEPTIONCODE_CLIENTERROR = 6,
+ PP_CDMEXCEPTIONCODE_OUTPUTERROR = 7
+};
« no previous file with comments | « mojo/examples/pepper_container_app/plugin_instance.cc ('k') | ppapi/api/private/ppb_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698