| Index: chrome/browser/android/ntp/popular_sites.h
|
| diff --git a/chrome/browser/android/ntp/popular_sites.h b/chrome/browser/android/ntp/popular_sites.h
|
| index 9608f5d846acdfdadba3760f32062c702ec71d00..10ca39c3807610bd676211174b132f8081328092 100644
|
| --- a/chrome/browser/android/ntp/popular_sites.h
|
| +++ b/chrome/browser/android/ntp/popular_sites.h
|
| @@ -73,7 +73,9 @@ class PopularSites : public net::URLFetcherDelegate {
|
| //
|
| // TODO(treib): PopularSites should query the variation params itself instead
|
| // of having them passed in.
|
| - PopularSites(PrefService* prefs,
|
| + PopularSites(scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
|
| + scoped_refptr<base::SequencedWorkerPool> blocking_pool,
|
| + PrefService* prefs,
|
| const TemplateURLService* template_url_service,
|
| variations::VariationsService* variations_service,
|
| net::URLRequestContextGetter* download_context,
|
| @@ -85,7 +87,9 @@ class PopularSites : public net::URLFetcherDelegate {
|
|
|
| // This fetches the popular sites from a given url and is only used for
|
| // debugging through the popular-sites-internals page.
|
| - PopularSites(PrefService* prefs,
|
| + PopularSites(scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
|
| + scoped_refptr<base::SequencedWorkerPool> blocking_pool,
|
| + PrefService* prefs,
|
| net::URLRequestContextGetter* download_context,
|
| const base::FilePath& directory,
|
| const GURL& url,
|
| @@ -106,7 +110,9 @@ class PopularSites : public net::URLFetcherDelegate {
|
| user_prefs::PrefRegistrySyncable* user_prefs);
|
|
|
| private:
|
| - PopularSites(PrefService* prefs,
|
| + PopularSites(scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
|
| + scoped_refptr<base::SequencedWorkerPool> blocking_pool,
|
| + PrefService* prefs,
|
| net::URLRequestContextGetter* download_context,
|
| const base::FilePath& directory,
|
| const std::string& country,
|
| @@ -147,7 +153,8 @@ class PopularSites : public net::URLFetcherDelegate {
|
| PrefService* prefs_;
|
| net::URLRequestContextGetter* download_context_;
|
|
|
| - scoped_refptr<base::TaskRunner> runner_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> ui_thread_;
|
| + scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
|
|
|
| base::WeakPtrFactory<PopularSites> weak_ptr_factory_;
|
|
|
|
|