Index: chrome/test/base/chrome_unit_test_suite.cc |
diff --git a/chrome/test/base/chrome_unit_test_suite.cc b/chrome/test/base/chrome_unit_test_suite.cc |
index 7a8a513f3abc736c974eee12aeaeafdd9faed21a..5e1665860f2fded603c2b789d8f763c96bc844de 100644 |
--- a/chrome/test/base/chrome_unit_test_suite.cc |
+++ b/chrome/test/base/chrome_unit_test_suite.cc |
@@ -19,6 +19,7 @@ |
#include "components/component_updater/component_updater_paths.h" |
#include "components/update_client/update_query_params.h" |
#include "content/public/common/content_paths.h" |
+#include "extensions/features/features.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/resource/resource_handle.h" |
@@ -29,7 +30,7 @@ |
#include "chromeos/chromeos_paths.h" |
#endif |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "chrome/common/extensions/chrome_extensions_client.h" |
#include "extensions/common/extension_paths.h" |
#endif |
@@ -134,7 +135,7 @@ void ChromeUnitTestSuite::InitializeProviders() { |
chromeos::RegisterPathProvider(); |
#endif |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
extensions::RegisterPathProvider(); |
extensions::ExtensionsClient::Set( |