Index: chrome/common/widevine_cdm_constants.h |
diff --git a/chrome/common/widevine_cdm_constants.h b/chrome/common/widevine_cdm_constants.h |
index b626079a11b7d9677087411d31e16881e712d0e2..c7b5dde0f08e579c9dd192e35ed4cc7c4f7366c8 100644 |
--- a/chrome/common/widevine_cdm_constants.h |
+++ b/chrome/common/widevine_cdm_constants.h |
@@ -8,6 +8,17 @@ |
#include "base/basictypes.h" |
#include "base/files/file_path.h" |
+// Defines bitmask values used to specify supported codecs. |
ddorwin
2013/09/17 22:29:08
As mentioned before, since this could be used for
qinmin
2013/09/18 00:45:44
Done.
|
+// Each value represents a codec within a specific container. |
+enum SupportedCodecs { |
+ NO_SUPPORTED_CODECS = 0, |
+ WEBM_VP8_AND_VORBIS = 1 << 0, |
+#if defined(USE_PROPRIETARY_CODECS) |
+ MP4_AAC = 1 << 1, |
+ MP4_AVC1 = 1 << 2, |
+#endif // defined(USE_PROPRIETARY_CODECS) |
+}; |
+ |
// The Widevine CDM adapter and Widevine CDM are in this directory. |
extern const base::FilePath::CharType kWidevineCdmBaseDirectory[]; |
@@ -16,4 +27,9 @@ extern const char kWidevineCdmPluginExtension[]; |
// Permission bits for Widevine CDM plugin. |
extern const int32 kWidevineCdmPluginPermissions; |
+#if defined(OS_ANDROID) |
+// UUID for widevine. |
+extern const uint8 kWidevineUuid[16]; |
ddorwin
2013/09/17 22:29:08
We only seem to use this in one location. Do we re
qinmin
2013/09/18 00:45:44
ok, moved it back
On 2013/09/17 22:29:08, ddorwin
|
+#endif |
+ |
#endif // CHROME_COMMON_WIDEVINE_CDM_CONSTANTS_H_ |