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

Unified Diff: chrome/browser/component_updater/sw_reporter_installer_win.cc

Issue 2831103002: Move shared constants to //components/chrome_cleaner (Closed)
Patch Set: Created 3 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/component_updater/sw_reporter_installer_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | chrome/browser/component_updater/sw_reporter_installer_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698