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

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

Issue 7863006: Add a whitelist for the new binary download protection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment to describe why we use list id 6 and not 5. Created 9 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
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 22d1e85f85cbd82838c7fe553aa499e6613436a0..3a988bce00a510bd4810c3474aa337c469fc7f88 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -125,6 +125,9 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kSafeBrowsingReportingEnabled,
false,
PrefService::UNSYNCABLE_PREF);
+ prefs->RegisterBooleanPref(prefs::kSafeBrowsingOptinDownloadProtectionEnabled,
+ false,
+ PrefService::UNSYNCABLE_PREF);
Brian Ryner 2011/09/12 21:45:18 Is there a reason this (and the ReportingEnabled p
noelutz 2011/09/12 22:09:30 I figured it should be similar to the malware repo
Brian Ryner 2011/09/12 22:43:27 Ok. I'm just wondering if this was a copy and pas
noelutz 2011/09/12 22:55:12 Done.
// TODO(estade): IDS_SPELLCHECK_DICTIONARY should be an ASCII string.
prefs->RegisterLocalizedStringPref(prefs::kSpellCheckDictionary,
IDS_SPELLCHECK_DICTIONARY,

Powered by Google App Engine
This is Rietveld 408576698