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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 153353006: Opt out of download feedback from settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some cleanup Created 6 years, 10 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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 6a8cb72ecf6f2d4a2530c3e09ffa69e79aea9db2..043dc718bf3dcf2601c4ad42b6178af3eaaebb6a 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -76,9 +76,9 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
prefs::kSafeBrowsingEnabled,
true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
- registry->RegisterIntegerPref(
- prefs::kSafeBrowsingDownloadReportingEnabled,
- 0,
+ registry->RegisterBooleanPref(
+ prefs::kSafeBrowsingDownloadFeedbackEnabled,
+ false,
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
registry->RegisterBooleanPref(
prefs::kSafeBrowsingReportingEnabled,

Powered by Google App Engine
This is Rietveld 408576698