Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 26c71336458d2fd08db39837d58f82bc66f56be4..0bbbf4006675780288599bef6ba9c8b2335d7ba7 100644 |
--- a/chrome/browser/history/history_backend.cc |
+++ b/chrome/browser/history/history_backend.cc |
@@ -172,8 +172,7 @@ bool QueuedHistoryDBTask::is_canceled() { |
return is_canceled_.Run(); |
} |
-bool QueuedHistoryDBTask::Run(HistoryBackend* backend, |
- HistoryDatabase* db) { |
+bool QueuedHistoryDBTask::Run(HistoryBackend* backend, HistoryDatabase* db) { |
return task_->RunOnDBThread(backend, db); |
} |
@@ -924,23 +923,6 @@ void HistoryBackend::AddPageNoVisitForBookmark(const GURL& url, |
db_->AddURL(url_info); |
} |
-void HistoryBackend::IterateURLs( |
- const scoped_refptr<visitedlink::VisitedLinkDelegate::URLEnumerator>& |
- iterator) { |
- if (db_) { |
- HistoryDatabase::URLEnumerator e; |
- if (db_->InitURLEnumeratorForEverything(&e)) { |
- URLRow info; |
- while (e.GetNextURL(&info)) { |
- iterator->OnURL(info.url()); |
- } |
- iterator->OnComplete(true); // Success. |
- return; |
- } |
- } |
- iterator->OnComplete(false); // Failure. |
-} |
- |
bool HistoryBackend::GetAllTypedURLs(URLRows* urls) { |
if (db_) |
return db_->GetAllTypedUrls(urls); |