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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.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/host_content_settings_map.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc
index 458d0a5fd138f1ecf7f90cb54ac5e761277bf358..4503e06a31562857f5b7f0382fc1e5e321a44f26 100644
--- a/chrome/browser/content_settings/host_content_settings_map.cc
+++ b/chrome/browser/content_settings/host_content_settings_map.cc
@@ -130,14 +130,14 @@ void HostContentSettingsMap::RegisterExtensionService(
#endif
// static
-void HostContentSettingsMap::RegisterUserPrefs(PrefService* prefs) {
+void HostContentSettingsMap::RegisterUserPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterIntegerPref(prefs::kContentSettingsWindowLastTabIndex,
0,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
prefs->RegisterIntegerPref(prefs::kContentSettingsDefaultWhitelistVersion,
- 0, PrefService::SYNCABLE_PREF);
+ 0, PrefServiceSyncable::SYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kContentSettingsClearOnExitMigrated,
- false, PrefService::SYNCABLE_PREF);
+ false, PrefServiceSyncable::SYNCABLE_PREF);
// Register the prefs for the content settings providers.
content_settings::DefaultProvider::RegisterUserPrefs(prefs);

Powered by Google App Engine
This is Rietveld 408576698