Index: chrome/browser/content_settings/content_settings_browsertest.cc |
diff --git a/chrome/browser/content_settings/content_settings_browsertest.cc b/chrome/browser/content_settings/content_settings_browsertest.cc |
index 7d7c3b150a70d19eaae38b2dbbf9448ecae91092..01fc283ea9296f78758c15939fb55e1da253099f 100644 |
--- a/chrome/browser/content_settings/content_settings_browsertest.cc |
+++ b/chrome/browser/content_settings/content_settings_browsertest.cc |
@@ -45,7 +45,6 @@ |
#include "net/dns/mock_host_resolver.h" |
#include "net/test/embedded_test_server/embedded_test_server.h" |
#include "net/test/url_request/url_request_mock_http_job.h" |
-#include "ppapi/features/features.h" |
#include "ppapi/shared_impl/ppapi_switches.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
@@ -54,7 +53,7 @@ |
#include "base/mac/scoped_nsautorelease_pool.h" |
#endif |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
+#if defined(ENABLE_PEPPER_CDMS) |
#include "chrome/browser/media/pepper_cdm_test_helper.h" |
#endif |
@@ -357,7 +356,7 @@ |
#endif |
} |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
+#if defined(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
// Since the CDM is bundled and registered through the component updater, |
// we must re-enable the component updater. |
void SetUpDefaultCommandLine(base::CommandLine* command_line) override { |
@@ -366,7 +365,7 @@ |
test_launcher_utils::RemoveCommandLineSwitch( |
default_command_line, switches::kDisableComponentUpdate, command_line); |
} |
-#endif // BUILDFLAG(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
+#endif // defined(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
void SetUpInProcessBrowserTestFixture() override { |
ContentSettingsTest::SetUpInProcessBrowserTestFixture(); |
@@ -498,7 +497,7 @@ |
RunLoadPepperPluginTest(content::kFlashPluginSwfMimeType, false); |
} |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) && \ |
+#if defined(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) && \ |
!defined(OS_CHROMEOS) |
IN_PROC_BROWSER_TEST_F(PepperContentSettingsSpecialCasesPluginsBlockedTest, |
WidevineCdm) { |
@@ -509,7 +508,7 @@ |
EXPECT_TRUE(IsPepperCdmRegistered(kWidevineCdmPluginMimeType)); |
RunLoadPepperPluginTest(kWidevineCdmPluginMimeType, true); |
} |
-#endif // BUILDFLAG(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) && |
+#endif // defined(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) && |
// !defined(OS_CHROMEOS) |
#if !defined(DISABLE_NACL) |
@@ -528,7 +527,7 @@ |
RunJavaScriptBlockedTest("load_flash_no_js.html", false); |
} |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
+#if defined(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
IN_PROC_BROWSER_TEST_F(PepperContentSettingsSpecialCasesJavaScriptBlockedTest, |
WidevineCdm) { |
// Check that Widevine CDM is available and registered. |
@@ -538,7 +537,7 @@ |
EXPECT_TRUE(IsPepperCdmRegistered(kWidevineCdmPluginMimeType)); |
RunJavaScriptBlockedTest("load_widevine_no_js.html", true); |
} |
-#endif // BUILDFLAG(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
+#endif // defined(ENABLE_PEPPER_CDMS) && defined(WIDEVINE_CDM_AVAILABLE) |
#if !defined(DISABLE_NACL) |
IN_PROC_BROWSER_TEST_F(PepperContentSettingsSpecialCasesJavaScriptBlockedTest, |