Index: chrome/browser/sync/profile_sync_service_factory.cc |
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc |
index 37da702f1ab00dd65a66cf84d8a6dd7c7e930959..e36d7d87afb59df62a884f5d4984f52ac4917199 100644 |
--- a/chrome/browser/sync/profile_sync_service_factory.cc |
+++ b/chrome/browser/sync/profile_sync_service_factory.cc |
@@ -41,9 +41,10 @@ |
#include "components/sync/driver/startup_controller.h" |
#include "components/sync/driver/sync_util.h" |
#include "content/public/browser/browser_thread.h" |
+#include "extensions/features/features.h" |
#include "url/gurl.h" |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "extensions/browser/extension_system_provider.h" |
#include "extensions/browser/extensions_browser_client.h" |
#endif |
@@ -121,7 +122,7 @@ ProfileSyncServiceFactory::ProfileSyncServiceFactory() |
DependsOn(ThemeServiceFactory::GetInstance()); |
#endif |
DependsOn(WebDataServiceFactory::GetInstance()); |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
DependsOn( |
extensions::ExtensionsBrowserClient::Get()->GetExtensionSystemFactory()); |
#endif |