Chromium Code Reviews

Unified Diff: chrome/renderer/plugins/plugin_uma.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/renderer/pepper/pepper_uma_host.cc ('k') | chrome/renderer/plugins/plugin_uma_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/plugins/plugin_uma.cc
diff --git a/chrome/renderer/plugins/plugin_uma.cc b/chrome/renderer/plugins/plugin_uma.cc
index 4040f6305332f036d4a814918e575a0ef7b66033..c3199e84739ae83573ff6e63b17cce108d8640ae 100644
--- a/chrome/renderer/plugins/plugin_uma.cc
+++ b/chrome/renderer/plugins/plugin_uma.cc
@@ -178,7 +178,7 @@ PluginUMAReporter::PluginType PluginUMAReporter::MimeTypeToPluginType(
return SHOCKWAVE_FLASH;
}
-#if defined(ENABLE_PEPPER_CDMS)
+#if defined(ENABLE_PEPPER_CDMS) && defined(ENABLE_WIDEVINE_CDM)
if (mime_type == kWidevineCdmPluginMimeType)
return WIDEVINE_CDM;
#endif
« no previous file with comments | « chrome/renderer/pepper/pepper_uma_host.cc ('k') | chrome/renderer/plugins/plugin_uma_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine