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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 1200383005: Activate prepopulated fieldtrials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codegen_field_trials
Patch Set: fixup Created 5 years, 5 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/common/chrome_switches.h » ('j') | chrome/common/variations/variations_util.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index b1cfe0b6d89997f4e84d4136827d74d16974ed71..57eca16ffaebe8724d9601c792a1851d69b709fd 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -633,6 +633,12 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
CHECK(result) << "Invalid --" << switches::kForceFieldTrials
<< " list specified.";
}
+
+ if (command_line->HasSwitch(switches::kEnableFieldTrialTestingConfig)) {
Alexei Svitkine (slow) 2015/07/10 15:24:32 Didn't we want this to be on by default for Chromi
danduong 2015/07/10 16:24:20 This is a good topic of discussion. My first thoug
Alexei Svitkine (slow) 2015/07/10 19:05:12 Default for unofficial builds but disable-able fro
+ bool result = chrome_variations::AssociateParamsFromFieldTrialConfig();
+ CHECK(result) << " Enabling field trial testing configuration failed.";
+ }
+
if (command_line->HasSwitch(switches::kForceVariationIds)) {
// Create default variation ids which will always be included in the
// X-Client-Data request header.
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | chrome/common/variations/variations_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698