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

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

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/ui/webui/history_ui.cc
diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
index 36cc8c2f9166ee8484140debedcdfa40450bd682..5ff99a567ea0c77f6bcb8971d95b51f34667dff6 100644
--- a/chrome/browser/ui/webui/history_ui.cc
+++ b/chrome/browser/ui/webui/history_ui.cc
@@ -72,7 +72,7 @@
#include "chrome/browser/supervised_user/supervised_user_url_filter.h"
#endif
-#if defined(OS_ANDROID)
+#if defined(ANDROID_JAVA_UI)
#include "chrome/browser/android/chrome_application.h"
#endif
@@ -691,7 +691,7 @@ void BrowsingHistoryHandler::HandleRemoveVisits(const base::ListValue* args) {
void BrowsingHistoryHandler::HandleClearBrowsingData(
const base::ListValue* args) {
-#if defined(OS_ANDROID)
+#if defined(ANDROID_JAVA_UI)
chrome::android::ChromeApplication::OpenClearBrowsingData(
web_ui()->GetWebContents());
#else

Powered by Google App Engine
This is Rietveld 408576698