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

Unified Diff: chrome/browser/ui/webui/browsing_history_handler.cc

Issue 2619603002: Remove android_java_ui as it is not used (Closed)
Patch Set: Created 3 years, 11 months 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/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

Powered by Google App Engine
This is Rietveld 408576698