| Index: chrome/browser/history/history_service.h
|
| diff --git a/chrome/browser/history/history_service.h b/chrome/browser/history/history_service.h
|
| index f2dff2a7c2299ce371787243fe22b00ccda85174..f5053af1b2ace2d4eafbfaa626ab0a3554e04d7d 100644
|
| --- a/chrome/browser/history/history_service.h
|
| +++ b/chrome/browser/history/history_service.h
|
| @@ -290,21 +290,20 @@ class HistoryService : public CancelableRequestProvider,
|
| const QueryRedirectsCallback& callback,
|
| base::CancelableTaskTracker* tracker);
|
|
|
| - typedef base::Callback<
|
| - void(Handle,
|
| - bool, // Were we able to determine the # of visits?
|
| - int, // Number of visits.
|
| - base::Time)> // Time of first visit. Only set if bool
|
| - // is true and int is > 0.
|
| - GetVisibleVisitCountToHostCallback;
|
| -
|
| // Requests the number of user-visible visits (i.e. no redirects or subframes)
|
| // to all urls on the same scheme/host/port as |url|. This is only valid for
|
| // HTTP and HTTPS URLs.
|
| - Handle GetVisibleVisitCountToHost(
|
| + typedef base::Callback<
|
| + void(bool, // Were we able to determine the # of visits?
|
| + int, // Number of visits.
|
| + base::Time)> // Time of first visit. Only set if bool
|
| + // is true and int is > 0.
|
| + GetVisibleVisitCountToHostCallback;
|
| +
|
| + base::CancelableTaskTracker::TaskId GetVisibleVisitCountToHost(
|
| const GURL& url,
|
| - CancelableRequestConsumerBase* consumer,
|
| - const GetVisibleVisitCountToHostCallback& callback);
|
| + const GetVisibleVisitCountToHostCallback& callback,
|
| + base::CancelableTaskTracker* tracker);
|
|
|
| // Request the |result_count| most visited URLs and the chain of
|
| // redirects leading to each of these URLs. |days_back| is the
|
|
|