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

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

Issue 573733002: Properly abort SwReporter setup if user isn't in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | 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 2a4975e3597e3a7a7376191e831cbd79927ba6d4..c8e4f9f3b64ea4474b11a9e74fd47093d9cc11d7 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc
@@ -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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698