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

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

Issue 2409423002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fix and format 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
« no previous file with comments | « chrome/renderer/plugins/plugin_uma.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cade961b454de1d8a647daa8359ca9d24b996ea8 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 "ppapi/features/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,
« no previous file with comments | « chrome/renderer/plugins/plugin_uma.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698