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

Unified Diff: chrome/browser/chrome_browser_field_trials.cc

Issue 13954011: Enable VariationsService on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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/chrome_browser_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_field_trials.cc
===================================================================
--- chrome/browser/chrome_browser_field_trials.cc (revision 194684)
+++ chrome/browser/chrome_browser_field_trials.cc (working copy)
@@ -48,15 +48,19 @@
const base::Time install_time = base::Time::FromTimeT(
local_state->GetInt64(prefs::kInstallDate));
DCHECK(!install_time.is_null());
+
chrome_variations::SetupUniformityFieldTrials(install_time);
SetUpSimpleCacheFieldTrial();
+
#if !defined(OS_ANDROID) && !defined(OS_IOS)
SetupDesktopFieldTrials(local_state);
-#endif // defined(OS_ANDROID)
+#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
#if defined(OS_ANDROID) || defined(OS_IOS)
SetupMobileFieldTrials();
#endif // defined(OS_ANDROID) || defined(OS_IOS)
+
+ InstantiateDynamicTrials();
}
@@ -116,7 +120,6 @@
#if defined(ENABLE_ONE_CLICK_SIGNIN)
OneClickSigninHelper::InitializeFieldTrial();
#endif
- InstantiateDynamicTrials();
SetupAppLauncherFieldTrial(local_state);
}
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698