| 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 1ed03af9e0e04477edf36449c89b811eb550015f..ed19d5d1406e40baa0ceeb3340f73ea48d08fb62 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -259,12 +259,16 @@ void BrowsingHistoryHandler::HandleRemoveURLsOnOneDay(const ListValue* args) {
|
| }
|
|
|
| void BrowsingHistoryHandler::HandleClearBrowsingData(const ListValue* args) {
|
| +#if defined(OS_ANDROID)
|
| + NOTIMPLEMENTED() << "TODO(yfriedman): Upstream the Android version.";
|
| +#else
|
| // TODO(beng): This is an improper direct dependency on Browser. Route this
|
| // through some sort of delegate.
|
| Profile* profile = Profile::FromWebUI(web_ui());
|
| Browser* browser = BrowserList::FindBrowserWithProfile(profile);
|
| if (browser)
|
| browser->OpenClearBrowsingDataDialog();
|
| +#endif
|
| }
|
|
|
| void BrowsingHistoryHandler::QueryComplete(
|
|
|