Index: chrome/renderer/content_settings_observer_unittest.cc |
diff --git a/chrome/renderer/content_settings_observer_unittest.cc b/chrome/renderer/content_settings_observer_unittest.cc |
index 121dcd5807991599737f7f94a11ac28f4d0dceb5..7614ddfee833f033a39cafb08a1e84588d5b1968 100644 |
--- a/chrome/renderer/content_settings_observer_unittest.cc |
+++ b/chrome/renderer/content_settings_observer_unittest.cc |
@@ -6,12 +6,13 @@ |
#include "chrome/common/url_constants.h" |
#include "content/public/common/url_constants.h" |
+#include "extensions/features/features.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
#include "third_party/WebKit/public/platform/WebURL.h" |
#include "url/gurl.h" |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "extensions/common/constants.h" |
#endif |
@@ -34,7 +35,7 @@ TEST_F(ContentSettingsObserverTest, WhitelistedSchemes) { |
WebSecurityOrigin::create(chrome_dev_tools_url), |
GURL())); |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
GURL extension_url = |
GURL(std::string(extensions::kExtensionScheme).append(end_url)); |
EXPECT_TRUE(ContentSettingsObserver::IsWhitelistedForContentSettings( |