Index: chrome/browser/search/search_unittest.cc |
diff --git a/chrome/browser/search/search_unittest.cc b/chrome/browser/search/search_unittest.cc |
index 56837d7516b2bb3fcdd6f93e04693bdc07f8420f..1761130c99d8e1926462d9ce02a00d2dac8b94d9 100644 |
--- a/chrome/browser/search/search_unittest.cc |
+++ b/chrome/browser/search/search_unittest.cc |
@@ -19,6 +19,7 @@ |
#include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/features.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/base/browser_with_test_window_test.h" |
@@ -37,7 +38,7 @@ |
#include "content/public/common/renderer_preferences.h" |
#include "url/gurl.h" |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
#include "chrome/browser/supervised_user/supervised_user_service.h" |
#include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
#include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
@@ -432,7 +433,7 @@ TEST_F(SearchTest, UseLocalNTPIfNTPURLIsNotSet) { |
EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), new_tab_url); |
} |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
TEST_F(SearchTest, UseLocalNTPIfNTPURLIsBlockedForSupervisedUser) { |
// Block access to foo.com in the URL filter. |
SupervisedUserService* supervised_user_service = |