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

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

Issue 11299035: Support manual (white|black)list, previewing and allowing after interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 84aec92da983ec683f8da541f194a16d2a15c05b..43778c018e256f28e85c25a3bbed5779e4b059dc 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -283,6 +283,14 @@ void ProfileImpl::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kClearSiteDataOnExit,
false,
PrefService::SYNCABLE_PREF);
+
+ // Preferences for whitelist and blacklists
Bernhard Bauer 2012/11/16 15:04:46 We usually explain what preferences are for in pre
Sergiu 2012/11/26 14:48:08 Removed and rephrased in pref_names.cc.
+ prefs->RegisterListPref(prefs::kManagedModeWhitelist,
+ new ListValue(),
+ PrefService::UNSYNCABLE_PREF);
+ prefs->RegisterListPref(prefs::kManagedModeBlacklist,
+ new ListValue(),
+ PrefService::UNSYNCABLE_PREF);
}
ProfileImpl::ProfileImpl(const FilePath& path,

Powered by Google App Engine
This is Rietveld 408576698