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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 10343007: Retrieving Chrome Variations seed from server and storing in local prefs. Loading seed data from lo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/chrome_browser_main.cc » ('j') | chrome/browser/metrics/proto/study.proto » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index fb67705eb5541696ad4446e74ff517b399d924ba..285167e2fd92480ffb04cf47fb8b99623ed6d8e3 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -30,6 +30,7 @@ class Profile;
class StartupTimeBomb;
class ShutdownWatcherHelper;
class TranslateManager;
+class VariationsService;
namespace chrome_browser {
// For use by ShowMissingLocaleMessageBox.
@@ -211,11 +212,15 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
// Members needed across shutdown methods.
bool restart_last_session_;
+ // Initialized in SetupMetricsAndFieldTrials.
+ scoped_ptr<VariationsService> variations_service_;
Ilya Sherman 2012/05/02 23:15:08 nit: Can this be a member of the MetricsService in
SteveT 2012/05/03 04:02:52 I'm not super familiar with BrowserProcess vs Brow
jwd 2012/05/03 22:27:49 I put it here because I was modeling it after the
+
// Tests can set this to true to disable restricting cookie access in the
// network stack, as this can only be done once.
static bool disable_enforcing_cookie_policies_for_tests_;
friend class BrowserMainTest;
+
FRIEND_TEST_ALL_PREFIXES(BrowserMainTest,
WarmConnectionFieldTrial_WarmestSocket);
FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Random);
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/metrics/proto/study.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698