| Index: chrome/browser/history/history_backend.cc
|
| diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
|
| index f11559f9680349bcd914af1c408b9640c5414228..0cc2fe86b293ad75fc7a7b09790f973a0da2e908 100644
|
| --- a/chrome/browser/history/history_backend.cc
|
| +++ b/chrome/browser/history/history_backend.cc
|
| @@ -1285,15 +1285,12 @@ void HistoryBackend::QueryRedirectsTo(const GURL& url,
|
| }
|
|
|
| void HistoryBackend::GetVisibleVisitCountToHost(
|
| - scoped_refptr<GetVisibleVisitCountToHostRequest> request,
|
| - const GURL& url) {
|
| - if (request->canceled())
|
| - return;
|
| - int count = 0;
|
| - Time first_visit;
|
| - const bool success = db_.get() &&
|
| - db_->GetVisibleVisitCountToHost(url, &count, &first_visit);
|
| - request->ForwardResult(request->handle(), success, count, first_visit);
|
| + const GURL& url,
|
| + VisibleVisitCountToHostResult* result) {
|
| + result->count = 0;
|
| + result->success = db_.get() &&
|
| + db_->GetVisibleVisitCountToHost(
|
| + url, &result->count, &result->first_visit);
|
| }
|
|
|
| void HistoryBackend::QueryTopURLsAndRedirects(
|
|
|