summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorblundell <blundell@chromium.org>2015-09-29 01:04:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-29 08:05:23 +0000
commit71f7da5a323ce64e8bc5b3ff2a62fc60e3c71bd0 (patch)
tree618ccb0bd5934ebdcfc4a7f2339ec04ca5883250 /chrome/installer
parentfda68e855c2cc1b51c583f8982af08b474906bbe (diff)
downloadchromium_src-71f7da5a323ce64e8bc5b3ff2a62fc60e3c71bd0.zip
chromium_src-71f7da5a323ce64e8bc5b3ff2a62fc60e3c71bd0.tar.gz
chromium_src-71f7da5a323ce64e8bc5b3ff2a62fc60e3c71bd0.tar.bz2
Move pref and switch in preparation for metrics componentization
Code will shortly be componentized into the metrics component that uses prefs::kMetricsReportingEnabled and switches::kForceFieldTrials. To enable that componentization, this CL does the following: - Moves prefs::kMetricsReportingEnabled into the metrics component. - Moves switches:kForceFieldTrials from //content to //base to enable it to be used both by //content and by the metrics component. BUG=508014 Review URL: https://codereview.chromium.org/1373823002 Cr-Commit-Position: refs/heads/master@{#351268}
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/uninstall_metrics.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/uninstall_metrics.cc b/chrome/installer/util/uninstall_metrics.cc
index fe2ee43..fbd1b90 100644
--- a/chrome/installer/util/uninstall_metrics.cc
+++ b/chrome/installer/util/uninstall_metrics.cc
@@ -51,7 +51,7 @@ bool ExtractUninstallMetrics(const base::DictionaryValue& root,
// Make sure that the user wants us reporting metrics. If not, don't
// add our uninstall metrics.
bool metrics_reporting_enabled = false;
- if (!root.GetBoolean(prefs::kMetricsReportingEnabled,
+ if (!root.GetBoolean(metrics::prefs::kMetricsReportingEnabled,
&metrics_reporting_enabled) ||
!metrics_reporting_enabled) {
return false;