Index: chrome/browser/ui/webui/browsing_history_handler.cc |
diff --git a/chrome/browser/ui/webui/browsing_history_handler.cc b/chrome/browser/ui/webui/browsing_history_handler.cc |
index f38ea8ac25845ae552737e09bb66a84fc0320e0d..6f638f7738bed88c7e3b721a3c17f93211bd9043 100644 |
--- a/chrome/browser/ui/webui/browsing_history_handler.cc |
+++ b/chrome/browser/ui/webui/browsing_history_handler.cc |
@@ -58,10 +58,11 @@ |
#include "components/url_formatter/url_formatter.h" |
#include "content/public/browser/url_data_source.h" |
#include "content/public/browser/web_ui.h" |
+#include "extensions/features/features.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/l10n/time_format.h" |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "chrome/browser/extensions/activity_log/activity_log.h" |
#endif |
@@ -628,7 +629,7 @@ void BrowsingHistoryHandler::HandleRemoveVisits(const base::ListValue* args) { |
weak_factory_.GetWeakPtr())); |
} |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
// If the profile has activity logging enabled also clean up any URLs from |
// the extension activity log. The extension activity log contains URLS |
// which websites an extension has activity on so it will indirectly |