Index: chrome/browser/chromeos/login/wizard_controller.cc |
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc |
index 7a59079e759f16a1ccef85f132a0366bcf3c9ea0..3c04cc370ad4eb6f916728f9448d2625194733d3 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller.cc |
+++ b/chrome/browser/chromeos/login/wizard_controller.cc |
@@ -392,9 +392,10 @@ void WizardController::OnEulaAccepted() { |
// But we can at least create the consent file and Chrome would port that |
// if the device is owned by a local user. In case of enterprise enrolled |
// device the setting will be respected only until the policy is not set. |
+ base::FundamentalValue value(usage_statistics_reporting_); |
SignedSettingsTempStorage::Store( |
kStatsReportingPref, |
- (usage_statistics_reporting_ ? "true" : "false"), |
+ value, |
g_browser_process->local_state()); |
bool enabled = |
OptionsUtil::ResolveMetricsReportingEnabled(usage_statistics_reporting_); |