| Index: chrome/browser/android/ntp/most_visited_sites.h
|
| diff --git a/chrome/browser/android/ntp/most_visited_sites.h b/chrome/browser/android/ntp/most_visited_sites.h
|
| index 14b3e636a238272ea55742e40f5addd24c8b8455..2e80584411bf44f8ec31fefc10324268b8e01404 100644
|
| --- a/chrome/browser/android/ntp/most_visited_sites.h
|
| +++ b/chrome/browser/android/ntp/most_visited_sites.h
|
| @@ -124,14 +124,17 @@ class MostVisitedSites : public history::TopSitesObserver,
|
| DISALLOW_COPY_AND_ASSIGN(Suggestion);
|
| };
|
|
|
| - MostVisitedSites(PrefService* prefs,
|
| - const TemplateURLService* template_url_service,
|
| - variations::VariationsService* variations_service,
|
| - net::URLRequestContextGetter* download_context,
|
| - const base::FilePath& popular_sites_directory,
|
| - scoped_refptr<history::TopSites> top_sites,
|
| - suggestions::SuggestionsService* suggestions,
|
| - MostVisitedSitesSupervisor* supervisor);
|
| + MostVisitedSites(
|
| + 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,
|
| + const base::FilePath& popular_sites_directory,
|
| + scoped_refptr<history::TopSites> top_sites,
|
| + suggestions::SuggestionsService* suggestions,
|
| + MostVisitedSitesSupervisor* supervisor);
|
|
|
| ~MostVisitedSites() override;
|
|
|
| @@ -271,6 +274,9 @@ class MostVisitedSites : public history::TopSitesObserver,
|
|
|
| SuggestionsVector current_suggestions_;
|
|
|
| + scoped_refptr<base::SingleThreadTaskRunner> ui_thread_;
|
| + scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
|
| +
|
| // For callbacks may be run after destruction.
|
| base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_;
|
|
|
|
|