Index: chrome/browser/prefs/session_startup_pref.cc |
diff --git a/chrome/browser/prefs/session_startup_pref.cc b/chrome/browser/prefs/session_startup_pref.cc |
index fbbf62f2ec3c7095c29b92cc794807a658c3f277..8560558a77302594f59939f09da79f30b24ce9e0 100644 |
--- a/chrome/browser/prefs/session_startup_pref.cc |
+++ b/chrome/browser/prefs/session_startup_pref.cc |
@@ -54,15 +54,18 @@ void URLListToPref(const base::ListValue* url_list, SessionStartupPref* pref) { |
} // namespace |
// static |
-void SessionStartupPref::RegisterUserPrefs(PrefRegistrySyncable* registry) { |
- registry->RegisterIntegerPref(prefs::kRestoreOnStartup, |
- TypeToPrefValue(GetDefaultStartupType()), |
- PrefRegistrySyncable::SYNCABLE_PREF); |
+void SessionStartupPref::RegisterUserPrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
+ registry->RegisterIntegerPref( |
+ prefs::kRestoreOnStartup, |
+ TypeToPrefValue(GetDefaultStartupType()), |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
registry->RegisterListPref(prefs::kURLsToRestoreOnStartup, |
- PrefRegistrySyncable::SYNCABLE_PREF); |
- registry->RegisterBooleanPref(prefs::kRestoreOnStartupMigrated, |
- false, |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
+ registry->RegisterBooleanPref( |
+ prefs::kRestoreOnStartupMigrated, |
+ false, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
} |
// static |