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

Unified Diff: components/ntp_tiles/popular_sites_impl.h

Issue 2946143002: Remove legacy popular sites cache cleaning (Closed)
Patch Set: Fix factory on iOS Created 3 years, 6 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: components/ntp_tiles/popular_sites_impl.h
diff --git a/components/ntp_tiles/popular_sites_impl.h b/components/ntp_tiles/popular_sites_impl.h
index b045dea6a7994c0adc70e21de9283115b6a7600c..b95058311d1bd12f7f40f4cb8b60c3daccfbfb40 100644
--- a/components/ntp_tiles/popular_sites_impl.h
+++ b/components/ntp_tiles/popular_sites_impl.h
@@ -19,8 +19,6 @@
#include "url/gurl.h"
namespace base {
-class TaskRunner;
-class SequencedWorkerPool;
class Value;
}
@@ -51,12 +49,10 @@ using ParseJSONCallback = base::Callback<void(
class PopularSitesImpl : public PopularSites, public net::URLFetcherDelegate {
public:
PopularSitesImpl(
- const scoped_refptr<base::SequencedWorkerPool>& blocking_pool,
PrefService* prefs,
const TemplateURLService* template_url_service,
variations::VariationsService* variations_service,
net::URLRequestContextGetter* download_context,
- const base::FilePath& directory,
ParseJSONCallback parse_json);
~PopularSitesImpl() override;
@@ -89,7 +85,6 @@ class PopularSitesImpl : public PopularSites, public net::URLFetcherDelegate {
void OnDownloadFailed();
// Parameters set from constructor.
- scoped_refptr<base::TaskRunner> const blocking_runner_;
PrefService* const prefs_;
const TemplateURLService* const template_url_service_;
variations::VariationsService* const variations_;

Powered by Google App Engine
This is Rietveld 408576698