Commit 029ccade authored by csharp's avatar csharp Committed by Commit bot

Properly abort SwReporter setup if user isn't in UMA

TBR=mad@chromium.org
BUG=

Review URL: https://codereview.chromium.org/573733002

Cr-Commit-Position: refs/heads/master@{#294825}
parent 55b2f157
......@@ -224,7 +224,7 @@ wchar_t SwReporterInstallerTraits::version_dir_[] = {};
void RegisterSwReporterComponent(ComponentUpdateService* cus,
PrefService* prefs) {
// The Sw reporter shouldn't run if the user isn't reporting metrics.
if (!ChromeMetricsServiceAccessor::IsMetricsReportingEnabled() && false)
if (!ChromeMetricsServiceAccessor::IsMetricsReportingEnabled())
return;
// Install the component.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment