Index: media/base/eme_constants.h |
diff --git a/media/base/eme_constants.h b/media/base/eme_constants.h |
index e78af3b7caa5a0efd00ed592121aa523f5342fef..c6b016754b48104501af29385ca448930922ee18 100644 |
--- a/media/base/eme_constants.h |
+++ b/media/base/eme_constants.h |
@@ -49,6 +49,37 @@ enum EmeCodec { |
typedef uint32_t SupportedInitDataTypes; |
typedef uint32_t SupportedCodecs; |
+enum EmeSessionTypeSupport { |
+ // Invalid value. |
+ EME_SESSION_TYPE_SUPPORT_NOT_DECLARED, |
ddorwin
2015/02/19 01:41:33
nit: This name makes it seem valid. INVALID or som
sandersd (OOO until July 31)
2015/02/19 21:08:34
Done.
|
+ // The session type is not available. |
ddorwin
2015/02/19 01:41:33
s/available/supported/?
and line 57
sandersd (OOO until July 31)
2015/02/19 21:08:34
Done.
|
+ EME_SESSION_TYPE_NOT_SUPPORTED, |
+ // The session type is available if the encrypted media permission is granted. |
+ EME_SESSION_TYPE_SUPPORTED_WITH_PERMISSION, |
+ // The session type is always available. |
+ EME_SESSION_TYPE_SUPPORTED, |
+}; |
+ |
+enum EmeFeatureSupport { |
+ // Invalid value. |
+ EME_FEATURE_SUPPORT_NOT_DECLARED, |
+ // Access to the feature is not supported at all. |
+ EME_FEATURE_NOT_SUPPORTED, |
+ // Access to the feature is supported if the encrypted media permission is |
+ // granted. |
+ EME_FEATURE_SUPPORTED_WITH_PERMISSION, |
ddorwin
2015/02/19 04:23:41
s/SUPPORTED/REQUESTABLE/ or something like that to
|
+ // Access to the feature is available if requested. |
+ EME_FEATURE_SUPPORTED, |
+ // Access to the feature cannot be blocked. |
+ EME_FEATURE_ALWAYS_AVAILABLE, |
ddorwin
2015/02/19 01:41:33
s/AVAILABLE/USED/ ?
sandersd (OOO until July 31)
2015/02/19 21:08:34
Done.
|
+}; |
+ |
+enum EmeFeatureRequirement { |
+ EME_FEATURE_NOT_ALLOWED, |
+ EME_FEATURE_OPTIONAL, |
+ EME_FEATURE_REQUIRED, |
+}; |
+ |
} // namespace media |
#endif // MEDIA_BASE_EME_CONSTANTS_H_ |