Index: chrome/renderer/plugins/plugin_uma_unittest.cc |
diff --git a/chrome/renderer/plugins/plugin_uma_unittest.cc b/chrome/renderer/plugins/plugin_uma_unittest.cc |
index 3b1950c5bf2b170fc3f8c12238f9e8bc7d07a65d..587ab662b3f97bd3186998b3ee9668dee2149e28 100644 |
--- a/chrome/renderer/plugins/plugin_uma_unittest.cc |
+++ b/chrome/renderer/plugins/plugin_uma_unittest.cc |
@@ -106,7 +106,11 @@ TEST_F(PluginUMATest, ShockwaveFlash) { |
} |
TEST_F(PluginUMATest, WidevineCdm) { |
+#if defined(ENABLE_PEPPER_CDMS) |
ExpectPluginType(PluginUMAReporter::WIDEVINE_CDM, |
+#else |
+ ExpectPluginType(PluginUMAReporter::UNSUPPORTED_MIMETYPE, |
+#endif |
"application/x-ppapi-widevine-cdm", |
GURL("some url")); |
ExpectPluginType(PluginUMAReporter::UNSUPPORTED_MIMETYPE, |