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 5e5b24e536920837758cb6854f2350dc105465f2..33c868a98ed1369b2925bfc5d8ac22feb61cb07b 100644 |
--- a/chrome/browser/ui/webui/browsing_history_handler.cc |
+++ b/chrome/browser/ui/webui/browsing_history_handler.cc |
@@ -55,7 +55,7 @@ |
#include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
#endif |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
#include "chrome/browser/android/chrome_application.h" |
#endif |
@@ -405,7 +405,7 @@ void BrowsingHistoryHandler::HandleRemoveVisits(const base::ListValue* args) { |
void BrowsingHistoryHandler::HandleClearBrowsingData( |
const base::ListValue* args) { |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
chrome::android::ChromeApplication::OpenClearBrowsingData( |
web_ui()->GetWebContents()); |
#else |