| Index: chrome/browser/history/history_service.h
|
| diff --git a/chrome/browser/history/history_service.h b/chrome/browser/history/history_service.h
|
| index 75289c2787d1fa6bceb0c0106ab23377c70718df..8f90152d1bcf3f2119b5ce547c3cd2d063cbbb24 100644
|
| --- a/chrome/browser/history/history_service.h
|
| +++ b/chrome/browser/history/history_service.h
|
| @@ -273,23 +273,25 @@ class HistoryService : public CancelableRequestProvider,
|
| // redirect, the vector will be empty. If the history system failed for
|
| // some reason, success will additionally be false. If the given page
|
| // has redirected to multiple destinations, this will pick a random one.
|
| - typedef base::Callback<void(Handle,
|
| - GURL, // from_url / to_url
|
| + typedef base::Callback<void(GURL, // from_url / to_url
|
| bool, // success
|
| - history::RedirectList*)> QueryRedirectsCallback;
|
| + const history::RedirectList*)>
|
| + QueryRedirectsCallback;
|
|
|
| // Schedules a query for the most recent redirect coming out of the given
|
| // URL. See the RedirectQuerySource above, which is guaranteed to be called
|
| // if the request is not canceled.
|
| - Handle QueryRedirectsFrom(const GURL& from_url,
|
| - CancelableRequestConsumerBase* consumer,
|
| - const QueryRedirectsCallback& callback);
|
| + base::CancelableTaskTracker::TaskId QueryRedirectsFrom(
|
| + const GURL& from_url,
|
| + const QueryRedirectsCallback& callback,
|
| + base::CancelableTaskTracker* tracker);
|
|
|
| // Schedules a query to get the most recent redirects ending at the given
|
| // URL.
|
| - Handle QueryRedirectsTo(const GURL& to_url,
|
| - CancelableRequestConsumerBase* consumer,
|
| - const QueryRedirectsCallback& callback);
|
| + base::CancelableTaskTracker::TaskId QueryRedirectsTo(
|
| + const GURL& to_url,
|
| + const QueryRedirectsCallback& callback,
|
| + base::CancelableTaskTracker* tracker);
|
|
|
| typedef base::Callback<
|
| void(Handle,
|
|
|