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

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

Issue 2768023002: Move remaining @CalledByNative methods out of ChromeApplication. (Closed)
Patch Set: Use DISALLOW_IMPLICIT_CONSTRUCTORS instead of DISALLOW_COPY_AND_ASSIGN Created 3 years, 9 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 1bf02e117dee04782598c2934a969b5f3e6ce3e7..dfc96e8147413efc80da89b653391631b03e12b7 100644
--- a/chrome/browser/ui/webui/browsing_history_handler.cc
+++ b/chrome/browser/ui/webui/browsing_history_handler.cc
@@ -55,7 +55,7 @@
#endif
#if defined(OS_ANDROID)
-#include "chrome/browser/android/chrome_application.h"
+#include "chrome/browser/android/preferences/preferences_launcher.h"
#else
#include "chrome/common/chrome_features.h"
#endif
@@ -403,7 +403,7 @@ void BrowsingHistoryHandler::HandleRemoveVisits(const base::ListValue* args) {
void BrowsingHistoryHandler::HandleClearBrowsingData(
const base::ListValue* args) {
#if defined(OS_ANDROID)
- chrome::android::ChromeApplication::OpenClearBrowsingData(
+ chrome::android::PreferencesLauncher::OpenClearBrowsingData(
web_ui()->GetWebContents());
#else
// TODO(beng): This is an improper direct dependency on Browser. Route this

Powered by Google App Engine
This is Rietveld 408576698