Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10479)

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_factory.cc

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | chrome/browser/browsing_data/browsing_data_remover_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698