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

Unified Diff: chrome/browser/android/ntp/popular_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
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 41523c5bd93ae331b78987f29bc9589b05022628..1e81b815643d9089b2847a798027bbc0b6148554 100644
--- a/chrome/browser/android/ntp/popular_sites.h
+++ b/chrome/browser/android/ntp/popular_sites.h
@@ -25,6 +25,10 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
+namespace variations {
+class VariationsService;
+}
+
class PrefService;
class TemplateURLService;
@@ -59,6 +63,7 @@ class PopularSites {
// if it already exists on disk.
PopularSites(PrefService* prefs,
const TemplateURLService* template_url_service,
+ variations::VariationsService* variations_service,
Alexei Svitkine (slow) 2016/04/29 14:56:09 Have you considered just plumbing the country code
Marc Treib 2016/04/29 14:59:19 Can the country code ever change during runtime? I
Alexei Svitkine (slow) 2016/04/29 15:03:02 It can change when a new variations seed is fetche
sfiera 2016/04/29 15:10:42 I wouldn't really like to have variations_country
Marc Treib 2016/04/29 15:15:01 SGTM. If we ever want to support iOS, we'll need t
net::URLRequestContextGetter* download_context,
const std::string& override_country,
const std::string& override_version,
« no previous file with comments | « chrome/browser/android/ntp/most_visited_sites_bridge.cc ('k') | chrome/browser/android/ntp/popular_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698