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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 1411863002: Use kMetricsReportingEnabled instead of kStatsReporingPref on metrics side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete settings pref ref from priviate_api + Added comments Created 5 years, 2 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
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 2e7d4b0354b2af2adcb4e623804abb92412a828b..7042b936293d7645b75faa541e6688eb0467f41a 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -609,7 +609,6 @@ void WizardController::OnEulaAccepted() {
}
void WizardController::InitiateMetricsReportingChangeCallback(bool enabled) {
- CrosSettings::Get()->SetBoolean(kStatsReportingPref, enabled);
Mattias Nissler (ping if slow) 2015/10/20 08:33:32 Why did you remove this? I think this is required
gayane -on leave until 09-2017 2015/10/20 14:55:39 Previously here we set kStatsReportingPref as Init
Mattias Nissler (ping if slow) 2015/10/21 09:53:24 AFAICT, InitiateMetricsReportingChange only update
Alexei Svitkine (slow) 2015/10/21 16:36:53 Can we just guard against this (non-owners of the
gayane -on leave until 09-2017 2015/10/21 17:02:51 Is there any way for users to change the settings
Mattias Nissler (ping if slow) 2015/10/21 19:05:48 The deal with device settings is that they're carr
if (!enabled)
return;
#if defined(GOOGLE_CHROME_BUILD)

Powered by Google App Engine
This is Rietveld 408576698