Chromium Code Reviews| Index: chrome/browser/history/top_sites_impl.h |
| diff --git a/chrome/browser/history/top_sites_impl.h b/chrome/browser/history/top_sites_impl.h |
| index 5141534ae35c40584bbcec89c70b39bdfee8cbaa..efaefe52ec118784e538ae929122e5afd114aaa2 100644 |
| --- a/chrome/browser/history/top_sites_impl.h |
| +++ b/chrome/browser/history/top_sites_impl.h |
| @@ -19,7 +19,6 @@ |
| #include "base/task/cancelable_task_tracker.h" |
| #include "base/time/time.h" |
| #include "base/timer/timer.h" |
| -#include "chrome/browser/common/cancelable_request.h" |
| #include "chrome/browser/history/history_service.h" |
| #include "chrome/browser/history/history_types.h" |
| #include "chrome/browser/history/page_usage_data.h" |
| @@ -79,7 +78,8 @@ class TopSitesImpl : public TopSites { |
| virtual bool IsBlacklisted(const GURL& url) OVERRIDE; |
| virtual void ClearBlacklistedURLs() OVERRIDE; |
| virtual void Shutdown() OVERRIDE; |
| - virtual CancelableRequestProvider::Handle StartQueryForMostVisited() OVERRIDE; |
| + virtual base::CancelableTaskTracker::TaskId StartQueryForMostVisited() |
| + OVERRIDE; |
| virtual bool IsKnownURL(const GURL& url) OVERRIDE; |
| virtual const std::string& GetCanonicalURLString( |
| const GURL& url) const OVERRIDE; |
| @@ -233,10 +233,10 @@ class TopSitesImpl : public TopSites { |
| // Lock used to access |thread_safe_cache_|. |
| mutable base::Lock lock_; |
| - // Need a separate consumer for each CancelableRequestProvider we interact |
| - // with (HistoryService and TopSitesBackend). |
| - CancelableRequestConsumer history_consumer_; |
| - base::CancelableTaskTracker cancelable_task_tracker_; |
| + // Need a separate task tracker for each CancelableRequestProvider we |
|
blundell
2014/07/03 08:29:12
comment is out of date
sdefresne
2014/07/22 14:29:06
Done.
|
| + // interact with (HistoryService and TopSitesBackend). |
| + base::CancelableTaskTracker history_task_tracker_; |
| + base::CancelableTaskTracker backend_task_tracker_; |
| // Timer that asks history for the top sites. This is used to make sure our |
| // data stays in sync with history. |