Index: chrome/browser/browsing_data/browsing_data_remover_factory.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_remover_factory.cc b/chrome/browser/browsing_data/browsing_data_remover_factory.cc |
index e7f13b197bd2c7c039c68a7bffebcc24e6cb06c4..ccf45fc250b4805f203e3d5ac74f6b7f0622edcd 100644 |
--- a/chrome/browser/browsing_data/browsing_data_remover_factory.cc |
+++ b/chrome/browser/browsing_data/browsing_data_remover_factory.cc |
@@ -21,13 +21,14 @@ |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/power/origin_power_map_factory.h" |
#include "content/public/browser/browser_context.h" |
+#include "extensions/features/features.h" |
#if BUILDFLAG(ANDROID_JAVA_UI) |
#include "chrome/browser/android/offline_pages/offline_page_model_factory.h" |
#include "chrome/browser/precache/precache_manager_factory.h" |
#endif |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "chrome/browser/extensions/activity_log/activity_log.h" |
#include "extensions/browser/extension_prefs_factory.h" |
#endif |
@@ -70,7 +71,7 @@ BrowsingDataRemoverFactory::BrowsingDataRemoverFactory() |
DependsOn(precache::PrecacheManagerFactory::GetInstance()); |
#endif |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
DependsOn(extensions::ActivityLog::GetFactoryInstance()); |
DependsOn(extensions::ExtensionPrefsFactory::GetInstance()); |
#endif |