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

Unified Diff: chromecast/media/base/key_systems_common.cc

Issue 772043004: Replace WIDEVINE_CDM_AVAILABLE with a gyp define 'enable_widevine_cdm'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix #endif Created 6 years 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 | « chrome/renderer/plugins/plugin_uma_unittest.cc ('k') | chromecast/renderer/key_systems_cast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/key_systems_common.cc
diff --git a/chromecast/media/base/key_systems_common.cc b/chromecast/media/base/key_systems_common.cc
index 568aaa8a3e1e6e7d2fda92cd73e26d0d02624278..79f07a041f4ac90468a6d2fcc4789838f8517cc7 100644
--- a/chromecast/media/base/key_systems_common.cc
+++ b/chromecast/media/base/key_systems_common.cc
@@ -18,11 +18,11 @@ const char kChromecastPlayreadyKeySystem[] = "com.chromecast.playready";
#endif // defined(PLAYREADY_CDM_AVAILABLE)
CastKeySystem GetKeySystemByName(const std::string& key_system_name) {
-#if defined(WIDEVINE_CDM_AVAILABLE)
+#if defined(ENABLE_WIDEVINE_CDM)
if (key_system_name.compare(kWidevineKeySystem) == 0) {
return KEY_SYSTEM_WIDEVINE;
}
-#endif // defined(WIDEVINE_CDM_AVAILABLE)
+#endif // defined(ENABLE_WIDEVINE_CDM)
#if defined(PLAYREADY_CDM_AVAILABLE)
if (key_system_name.compare(kChromecastPlayreadyKeySystem) == 0) {
« no previous file with comments | « chrome/renderer/plugins/plugin_uma_unittest.cc ('k') | chromecast/renderer/key_systems_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698