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

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: Switch to enable_widevine_cdm. 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
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..19201a129078705b5027d3230c8bf351bdc28213 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_WIDEVINE_CDM) && defined(ENABLE_PEPPER_CDMS)
ddorwin 2014/12/15 18:31:06 Minor issue. I think it was intentional that this
sandersd (OOO until July 31) 2014/12/15 21:51:22 It can't be enabled because kWidevineCdmPluginMime
if (mime_type == kWidevineCdmPluginMimeType)
return WIDEVINE_CDM;
#endif

Powered by Google App Engine
This is Rietveld 408576698