Chromium Code Reviews| 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 f34ebe4c9cc0da8ba7508008e4382a1f37cdea7e..bb946228264e1e977f35d4734a2e088548c7c41d 100644 |
| --- a/chrome/browser/android/ntp/most_visited_sites.h |
| +++ b/chrome/browser/android/ntp/most_visited_sites.h |
| @@ -25,6 +25,10 @@ |
| #include "components/suggestions/suggestions_service.h" |
| #include "url/gurl.h" |
| +namespace history { |
| +class TopSites; |
| +} |
| + |
| namespace suggestions { |
| class SuggestionsService; |
| } |
| @@ -86,8 +90,14 @@ class MostVisitedSites : public history::TopSitesObserver, |
| DISALLOW_COPY_AND_ASSIGN(Suggestion); |
| }; |
| - MostVisitedSites(Profile* profile, |
| - variations::VariationsService* variations_service); |
| + MostVisitedSites(PrefService* prefs, |
| + const TemplateURLService* template_url_service, |
| + variations::VariationsService* variations_service, |
| + net::URLRequestContextGetter* download_context, |
| + scoped_refptr<history::TopSites> top_sites, |
| + suggestions::SuggestionsService* suggestions, |
| + bool is_child, |
|
Marc Treib
2016/05/02 11:30:40
profile_is_child, or is_child_account, or somethin
sfiera
2016/05/03 13:26:12
Done.
|
| + Profile* profile); |
| ~MostVisitedSites() override; |
| @@ -214,9 +224,13 @@ class MostVisitedSites : public history::TopSitesObserver, |
| // The profile whose most visited sites will be queried. |
| Profile* profile_; |
| + PrefService* prefs_; |
| + const TemplateURLService* template_url_service_; |
| variations::VariationsService* variations_service_; |
| + net::URLRequestContextGetter* download_context_; |
| scoped_refptr<history::TopSites> top_sites_; |
| suggestions::SuggestionsService* suggestions_service_; |
| + bool is_child_; |
| Observer* observer_; |