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

Unified Diff: ppapi/api/private/pp_content_decryptor.idl

Issue 2514123004: Fix range checking for PP_CdmKeyStatus (Closed)
Patch Set: add _MAX values Created 4 years, 1 month 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
« no previous file with comments | « no previous file | ppapi/c/private/pp_content_decryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 da62b14c272288a0aaf303bf614b10ce22b1f73c..dc69ff9a2d7ffa8764f306db8f3ba477c66b3af7 100644
--- a/ppapi/api/private/pp_content_decryptor.idl
+++ b/ppapi/api/private/pp_content_decryptor.idl
@@ -436,7 +436,8 @@ enum PP_CdmExceptionCode {
PP_CDMEXCEPTIONCODE_QUOTAEXCEEDEDERROR = 4,
PP_CDMEXCEPTIONCODE_UNKNOWNERROR = 5,
PP_CDMEXCEPTIONCODE_CLIENTERROR = 6,
- PP_CDMEXCEPTIONCODE_OUTPUTERROR = 7
+ PP_CDMEXCEPTIONCODE_OUTPUTERROR = 7,
+ PP_CDMEXCEPTIONCODE_MAX = PP_CDMEXCEPTIONCODE_OUTPUTERROR
};
/**
@@ -446,7 +447,8 @@ enum PP_CdmExceptionCode {
enum PP_CdmMessageType {
PP_CDMMESSAGETYPE_LICENSE_REQUEST = 0,
PP_CDMMESSAGETYPE_LICENSE_RENEWAL = 1,
- PP_CDMMESSAGETYPE_LICENSE_RELEASE = 2
+ PP_CDMMESSAGETYPE_LICENSE_RELEASE = 2,
+ PP_CDMMESSAGETYPE_MAX = PP_CDMMESSAGETYPE_LICENSE_RELEASE
};
/**
@@ -460,7 +462,8 @@ enum PP_CdmKeyStatus {
PP_CDMKEYSTATUS_OUTPUTRESTRICTED = 3,
PP_CDMKEYSTATUS_OUTPUTDOWNSCALED = 4,
PP_CDMKEYSTATUS_STATUSPENDING = 5,
- PP_CDMKEYSTATUS_RELEASED = 6
+ PP_CDMKEYSTATUS_RELEASED = 6,
+ PP_CDMKEYSTATUS_MAX = PP_CDMKEYSTATUS_RELEASED
};
/**
« no previous file with comments | « no previous file | ppapi/c/private/pp_content_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698