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

Unified Diff: media/base/eme_constants.h

Issue 1953803002: Remove remaining uses of KeySystemInfo and InitDataTypeMask (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 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
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/key_system_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/eme_constants.h
diff --git a/media/base/eme_constants.h b/media/base/eme_constants.h
index 22fbeba488c168f690614ecf72dc118e70cdf575..26fedb0a62ab54d79049eb8d2ba478f353106453 100644
--- a/media/base/eme_constants.h
+++ b/media/base/eme_constants.h
@@ -12,7 +12,6 @@ namespace media {
// Defines values that specify registered Initialization Data Types used
// in Encrypted Media Extensions (EME).
// http://w3c.github.io/encrypted-media/initdata-format-registry.html#registry
-// The mask values are stored in a InitDataTypeMask.
enum class EmeInitDataType {
UNKNOWN,
WEBM,
@@ -20,12 +19,6 @@ enum class EmeInitDataType {
KEYIDS
};
-typedef uint32_t InitDataTypeMask;
-const InitDataTypeMask kInitDataTypeMaskNone = 0;
-const InitDataTypeMask kInitDataTypeMaskWebM = 1 << 0;
-const InitDataTypeMask kInitDataTypeMaskCenc = 1 << 1;
-const InitDataTypeMask kInitDataTypeMaskKeyIds = 1 << 2;
-
// Defines bitmask values that specify codecs used in Encrypted Media Extension
// (EME). Each value represents a codec within a specific container.
// The mask values are stored in a SupportedCodecs.
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/key_system_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698