| 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 126322abf4776baf2b1d80900d9bb045f2b2a770..557a1693c0b450705bc1cd45eaddf6c503076515 100644
|
| --- a/components/history/core/browser/history_service.cc
|
| +++ b/components/history/core/browser/history_service.cc
|
| @@ -368,15 +368,16 @@ void HistoryService::TopHosts(size_t num_hosts,
|
| callback);
|
| }
|
|
|
| -void HistoryService::GetCountsForOrigins(
|
| +void HistoryService::GetCountsAndLastVisitForOrigins(
|
| const std::set<GURL>& origins,
|
| - const GetCountsForOriginsCallback& callback) const {
|
| + const GetCountsAndLastVisitForOriginsCallback& callback) const {
|
| DCHECK(thread_) << "History service being called after cleanup";
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| - PostTaskAndReplyWithResult(thread_->task_runner().get(), FROM_HERE,
|
| - base::Bind(&HistoryBackend::GetCountsForOrigins,
|
| - history_backend_.get(), origins),
|
| - callback);
|
| + PostTaskAndReplyWithResult(
|
| + thread_->task_runner().get(), FROM_HERE,
|
| + base::Bind(&HistoryBackend::GetCountsAndLastVisitForOrigins,
|
| + history_backend_.get(), origins),
|
| + callback);
|
| }
|
|
|
| void HistoryService::HostRankIfAvailable(
|
|
|