Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: chrome/browser/history/top_sites_impl.h

Issue 369503007: Remove dead code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..caa0c0bf83456ae416cd84e273ff612199b89998 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,9 +233,7 @@ 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_;
+ // Task tracker for history and backend requests.
base::CancelableTaskTracker cancelable_task_tracker_;
// Timer that asks history for the top sites. This is used to make sure our

Powered by Google App Engine
This is Rietveld 408576698