| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index a76aad93798539087c964a55c5692541c458613e..41f8c891c42a5a1ee5928e4ad4f16005d527d691 100644
|
| --- a/chrome/browser/chrome_browser_main.cc
|
| +++ b/chrome/browser/chrome_browser_main.cc
|
| @@ -103,6 +103,7 @@
|
| #include "chrome/common/net/net_resource_provider.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/profiling.h"
|
| +#include "chrome/common/variations/variations_util.h"
|
| #include "chrome/grit/generated_resources.h"
|
| #include "chrome/installer/util/google_update_settings.h"
|
| #include "components/component_updater/component_updater_service.h"
|
| @@ -637,6 +638,11 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
|
| base::FieldTrial::EnableBenchmarking();
|
| }
|
|
|
| + if (command_line->HasSwitch(switches::kForceFieldTrialParams)) {
|
| + chrome_variations::AssociateParamsFromString(
|
| + command_line->GetSwitchValueASCII(switches::kForceFieldTrialParams));
|
| + }
|
| +
|
| // Ensure any field trials specified on the command line are initialized.
|
| if (command_line->HasSwitch(switches::kForceFieldTrials)) {
|
| std::set<std::string> unforceable_field_trials;
|
|
|