Index: chrome/browser/signin/signin_manager_factory.cc |
diff --git a/chrome/browser/signin/signin_manager_factory.cc b/chrome/browser/signin/signin_manager_factory.cc |
index 228e52cb42eba73a64ad8e2a2fa866d384f69836..dd9a5f275402cede45da47b929e288cd145b59a6 100644 |
--- a/chrome/browser/signin/signin_manager_factory.cc |
+++ b/chrome/browser/signin/signin_manager_factory.cc |
@@ -35,25 +35,25 @@ SigninManagerFactory* SigninManagerFactory::GetInstance() { |
return Singleton<SigninManagerFactory>::get(); |
} |
-void SigninManagerFactory::RegisterUserPrefs(PrefService* user_prefs) { |
+void SigninManagerFactory::RegisterUserPrefs(PrefServiceSyncable* user_prefs) { |
user_prefs->RegisterStringPref(prefs::kGoogleServicesLastUsername, "", |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
user_prefs->RegisterStringPref(prefs::kGoogleServicesUsername, "", |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
user_prefs->RegisterBooleanPref(prefs::kAutologinEnabled, true, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
user_prefs->RegisterBooleanPref(prefs::kReverseAutologinEnabled, true, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
user_prefs->RegisterListPref(prefs::kReverseAutologinRejectedEmailList, |
- new ListValue, PrefService::UNSYNCABLE_PREF); |
+ new ListValue, |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
user_prefs->RegisterBooleanPref(prefs::kIsGooglePlusUser, false, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
// static |
-void SigninManagerFactory::RegisterPrefs(PrefService* local_state) { |
- local_state->RegisterStringPref(prefs::kGoogleServicesUsernamePattern, "", |
- PrefService::UNSYNCABLE_PREF); |
+void SigninManagerFactory::RegisterPrefs(PrefServiceSimple* local_state) { |
+ local_state->RegisterStringPref(prefs::kGoogleServicesUsernamePattern, ""); |
} |
ProfileKeyedService* SigninManagerFactory::BuildServiceInstanceFor( |