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

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: Fix bad text in generated_resources.grd and rebase to ToT Created 7 years, 12 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_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index f6c9367070353eef0747e2c260329de83dc36641..48e8796c01d7a51761ccc6d7144f0099bfa61b32 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -315,6 +315,11 @@ void ProfileImpl::RegisterUserPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterBooleanPref(prefs::kClearSiteDataOnExit,
false,
PrefServiceSyncable::SYNCABLE_PREF);
+
+ prefs->RegisterListPref(prefs::kManagedModeWhitelist,
Bernhard Bauer 2013/01/07 12:34:19 Please don't lump new preferences into arbitrary p
Sergiu 2013/01/07 16:25:05 Got it, I was under the wrong impression that the
+ PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs->RegisterListPref(prefs::kManagedModeBlacklist,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
ProfileImpl::ProfileImpl(

Powered by Google App Engine
This is Rietveld 408576698