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..eb66d52a23120c92befb90d71ad7862a9ea16eab 100644 |
--- a/chrome/browser/ui/webui/browsing_history_handler.cc |
+++ b/chrome/browser/ui/webui/browsing_history_handler.cc |
@@ -55,11 +55,9 @@ |
#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 |
- |
-#if !defined(OS_ANDROID) |
+#else |
#include "chrome/browser/ui/webui/md_history_ui.h" |
#endif |
@@ -405,7 +403,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 |