Index: chrome/browser/component_updater/sw_reporter_installer_win.cc |
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.cc b/chrome/browser/component_updater/sw_reporter_installer_win.cc |
index c15810bccc4f0a32eb81a0325187a6d760c1554c..ea42ade3b43c7768645903aec21d8af1b57da29f 100644 |
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc |
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc |
@@ -250,16 +250,17 @@ void RunExperimentalSwReporter(const base::FilePath& exe_path, |
const std::string experiment_group = |
variations::GetVariationParamValueByFeature( |
kExperimentalEngineFeature, "experiment_group_for_reporting"); |
- command_line.AppendSwitchNative("engine-experiment-group", |
- experiment_group.empty() |
- ? L"missing_experiment_group" |
- : base::UTF8ToUTF16(experiment_group)); |
+ command_line.AppendSwitchNative( |
+ chrome_cleaner::kEngineExperimentGroupSwitch, |
+ experiment_group.empty() ? L"missing_experiment_group" |
+ : base::UTF8ToUTF16(experiment_group)); |
// Add the histogram suffix to the command-line as well, so that the |
// reporter will add the same suffix to registry keys where it writes |
// metrics. |
if (!suffix.empty()) |
- command_line.AppendSwitchASCII("registry-suffix", suffix); |
+ command_line.AppendSwitchASCII(chrome_cleaner::kRegistrySuffixSwitch, |
+ suffix); |
SwReporterInvocation::Behaviours supported_behaviours = 0; |
if (!GetOptionalBehaviour(invocation_params, "prompt", |