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

Unified Diff: chrome/browser/content_settings/cookie_settings.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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/content_settings/cookie_settings.cc
diff --git a/chrome/browser/content_settings/cookie_settings.cc b/chrome/browser/content_settings/cookie_settings.cc
index 3bb1c14c7c730de04558fc04e60c16d9b0338b4f..a9cf9186db0adbde461d0d47608285476f8b33d4 100644
--- a/chrome/browser/content_settings/cookie_settings.cc
+++ b/chrome/browser/content_settings/cookie_settings.cc
@@ -64,10 +64,11 @@ CookieSettings::Factory::Factory()
CookieSettings::Factory::~Factory() {}
-void CookieSettings::Factory::RegisterUserPrefs(PrefService* user_prefs) {
+void CookieSettings::Factory::RegisterUserPrefs(
+ PrefServiceSyncable* user_prefs) {
user_prefs->RegisterBooleanPref(prefs::kBlockThirdPartyCookies,
false,
- PrefService::SYNCABLE_PREF);
+ PrefServiceSyncable::SYNCABLE_PREF);
}
bool CookieSettings::Factory::ServiceRedirectedInIncognito() const {
« no previous file with comments | « chrome/browser/content_settings/cookie_settings.h ('k') | chrome/browser/content_settings/host_content_settings_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698