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 24f4f78671e7c73f9fb81899b81b8bd6376d2493..4eddfeb85fc4733788687cc44ed2ba99b30c1160 100644 |
--- a/chrome/browser/ui/webui/history_ui.cc |
+++ b/chrome/browser/ui/webui/history_ui.cc |
@@ -65,8 +65,7 @@ |
#endif |
#if defined(OS_ANDROID) |
-#include "chrome/browser/ui/android/tab_model/tab_model.h" |
-#include "chrome/browser/ui/android/tab_model/tab_model_list.h" |
+#include "chrome/browser/android/chromium_application.h" |
#endif |
#if !defined(OS_ANDROID) && !defined(OS_IOS) |
@@ -642,10 +641,8 @@ void BrowsingHistoryHandler::HandleRemoveVisits(const base::ListValue* args) { |
void BrowsingHistoryHandler::HandleClearBrowsingData( |
const base::ListValue* args) { |
#if defined(OS_ANDROID) |
- const TabModel* tab_model = TabModelList::GetTabModelForWebContents( |
+ chrome::android::ChromiumApplication::OpenClearBrowsingData( |
web_ui()->GetWebContents()); |
- if (tab_model) |
- tab_model->OpenClearBrowsingData(); |
#else |
// TODO(beng): This is an improper direct dependency on Browser. Route this |
// through some sort of delegate. |