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

Unified Diff: chrome/browser/android/ntp/most_visited_sites.h

Issue 1941713002: Remove most of the dependencies on //chrome/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@g-browser
Patch Set: Created 4 years, 8 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/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_;
« no previous file with comments | « no previous file | chrome/browser/android/ntp/most_visited_sites.cc » ('j') | chrome/browser/android/ntp/most_visited_sites.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698