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

Unified Diff: chrome/renderer/plugins/plugin_uma_unittest.cc

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: fix Created 4 years, 2 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/plugins/plugin_uma_unittest.cc
diff --git a/chrome/renderer/plugins/plugin_uma_unittest.cc b/chrome/renderer/plugins/plugin_uma_unittest.cc
index 7bce210e02ce577acc5ebed38f7726335ae728ab..6e896edfc560f669b7c2dcc542ea5c22d40047fb 100644
--- a/chrome/renderer/plugins/plugin_uma_unittest.cc
+++ b/chrome/renderer/plugins/plugin_uma_unittest.cc
@@ -5,6 +5,7 @@
#include <gtest/gtest.h>
#include "chrome/renderer/plugins/plugin_uma.h"
+#include "third_party/widevine/cdm/cdm_features.h"
class PluginUMATest : public testing::Test {
public:
@@ -103,7 +104,7 @@ TEST_F(PluginUMATest, ShockwaveFlash) {
}
TEST_F(PluginUMATest, WidevineCdm) {
-#if defined(ENABLE_PEPPER_CDMS)
+#if BUILDFLAG(ENABLE_PEPPER_CDMS)
ExpectPluginType(PluginUMAReporter::WIDEVINE_CDM,
#else
ExpectPluginType(PluginUMAReporter::UNSUPPORTED_MIMETYPE,

Powered by Google App Engine
This is Rietveld 408576698