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

Unified Diff: chrome/renderer/media/chrome_key_systems.cc

Issue 1027363002: Change EmeInitDataType to be an enum class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: chrome/renderer/media/chrome_key_systems.cc
diff --git a/chrome/renderer/media/chrome_key_systems.cc b/chrome/renderer/media/chrome_key_systems.cc
index 5307481ce45f3dc23196f0de9147ff42afb43cde..a5648364f65b9ca1e358c0d34d170957366750f4 100644
--- a/chrome/renderer/media/chrome_key_systems.cc
+++ b/chrome/renderer/media/chrome_key_systems.cc
@@ -77,10 +77,10 @@ static void AddExternalClearKey(
info.supported_codecs = media::EME_CODEC_WEBM_ALL;
info.supported_init_data_types =
- media::EME_INIT_DATA_TYPE_WEBM | media::EME_INIT_DATA_TYPE_KEYIDS;
+ media::kSupportedInitDataTypeWebM | media::kSupportedInitDataTypeKeyIds;
#if defined(USE_PROPRIETARY_CODECS)
info.supported_codecs |= media::EME_CODEC_MP4_ALL;
- info.supported_init_data_types |= media::EME_INIT_DATA_TYPE_CENC;
+ info.supported_init_data_types |= media::kSupportedInitDataTypeCenc;
#endif // defined(USE_PROPRIETARY_CODECS)
// Persistent sessions are faked.
« no previous file with comments | « no previous file | chromecast/renderer/key_systems_cast.cc » ('j') | content/browser/media/cdm/browser_cdm_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698