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

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

Issue 1930413002: Pull g_browser_process out of PopularSites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « no previous file | chrome/browser/android/ntp/most_visited_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 86b0927dc2a0ef955b1558709f490eeab1ef6941..f34ebe4c9cc0da8ba7508008e4382a1f37cdea7e 100644
--- a/chrome/browser/android/ntp/most_visited_sites.h
+++ b/chrome/browser/android/ntp/most_visited_sites.h
@@ -33,8 +33,9 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
-class PopularSites;
-class Profile;
+namespace variations {
+class VariationsService;
+}
// Tracks the list of most visited sites and their thumbnails.
//
@@ -85,7 +86,8 @@ class MostVisitedSites : public history::TopSitesObserver,
DISALLOW_COPY_AND_ASSIGN(Suggestion);
};
- explicit MostVisitedSites(Profile* profile);
+ MostVisitedSites(Profile* profile,
+ variations::VariationsService* variations_service);
~MostVisitedSites() override;
@@ -212,6 +214,7 @@ class MostVisitedSites : public history::TopSitesObserver,
// The profile whose most visited sites will be queried.
Profile* profile_;
+ variations::VariationsService* variations_service_;
scoped_refptr<history::TopSites> top_sites_;
suggestions::SuggestionsService* suggestions_service_;
« no previous file with comments | « no previous file | chrome/browser/android/ntp/most_visited_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698