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, |