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

Unified Diff: components/history/core/browser/history_service.cc

Issue 1081923002: Remove PrerenderLocalPredictor, part 5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prerender-local-predictor-4
Patch Set: Created 5 years, 8 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: components/history/core/browser/history_service.cc
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
index 238b682f0d11fba9aef75f2040867b6e81d07c3b..9a4ce7abcd5a6062ac3c10d8813aafb2c23d7dbd 100644
--- a/components/history/core/browser/history_service.cc
+++ b/components/history/core/browser/history_service.cc
@@ -116,12 +116,6 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
history_service_, base::Passed(&backend)));
}
- void NotifyAddVisit(const BriefVisitInfo& info) override {
- service_task_runner_->PostTask(
- FROM_HERE,
- base::Bind(&HistoryService::NotifyAddVisit, history_service_, info));
- }
-
void NotifyFaviconChanged(const std::set<GURL>& urls) override {
// Send the notification to the history service on the main thread.
service_task_runner_->PostTask(
@@ -1037,11 +1031,6 @@ bool HistoryService::GetRowForURL(const GURL& url, URLRow* url_row) {
return db && (db->GetRowForURL(url, url_row) != 0);
}
-void HistoryService::NotifyAddVisit(const BriefVisitInfo& info) {
- DCHECK(thread_checker_.CalledOnValidThread());
- FOR_EACH_OBSERVER(HistoryServiceObserver, observers_, OnAddVisit(this, info));
-}
-
void HistoryService::NotifyURLVisited(ui::PageTransition transition,
const URLRow& row,
const RedirectList& redirects,
« no previous file with comments | « components/history/core/browser/history_service.h ('k') | components/history/core/browser/history_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698