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

Unified Diff: chrome/browser/history/history_backend.cc

Issue 872313005: Remove dependency on visitedlink from history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@init-prefs
Patch Set: Created 5 years, 11 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/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 778db4f59263fe7bb84eb5ffbd613d1f686d35b9..43c4e8e018896a2587989c1649e138d6d66c9fc9 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -925,23 +925,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);

Powered by Google App Engine
This is Rietveld 408576698