| Index: chrome/browser/safe_browsing/malware_details_history.h
|
| diff --git a/chrome/browser/safe_browsing/malware_details_history.h b/chrome/browser/safe_browsing/malware_details_history.h
|
| index feea944ba7b0c9367999cf41adade3c7fb594400..214b498916aa0c1a79caa366e84e29b576a003d7 100644
|
| --- a/chrome/browser/safe_browsing/malware_details_history.h
|
| +++ b/chrome/browser/safe_browsing/malware_details_history.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/memory/linked_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/sequenced_task_runner_helpers.h"
|
| +#include "base/task/cancelable_task_tracker.h"
|
| #include "chrome/browser/history/history_service.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -59,17 +60,15 @@ class MalwareDetailsRedirectsCollector
|
|
|
| void StartGetRedirects(const std::vector<GURL>& urls);
|
| void GetRedirects(const GURL& url);
|
| - void OnGotQueryRedirectsTo(HistoryService::Handle handle,
|
| - GURL url,
|
| - bool success,
|
| - history::RedirectList* redirect_list);
|
| + void OnGotQueryRedirectsTo(const GURL& url,
|
| + const history::RedirectList* redirect_list);
|
|
|
| // Posts the callback method back to IO thread when redirects collecting
|
| // is all done.
|
| void AllDone();
|
|
|
| Profile* profile_;
|
| - CancelableRequestConsumer request_consumer_;
|
| + base::CancelableTaskTracker request_tracker_;
|
|
|
| // Method we call when we are done. The caller must be alive for the
|
| // whole time, we are modifying its state (see above).
|
|
|