| Index: chrome/browser/signin/about_signin_internals_factory.cc
|
| diff --git a/chrome/browser/signin/about_signin_internals_factory.cc b/chrome/browser/signin/about_signin_internals_factory.cc
|
| index 310285725be52d02efe46db2a318370cc5cde1f0..2628042c39688b521cb774dfc7ae470cac7e3803 100644
|
| --- a/chrome/browser/signin/about_signin_internals_factory.cc
|
| +++ b/chrome/browser/signin/about_signin_internals_factory.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/signin/about_signin_internals_factory.h"
|
|
|
| +#include "chrome/browser/prefs/pref_registry_syncable.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile_dependency_manager.h"
|
| #include "chrome/browser/signin/about_signin_internals.h"
|
| @@ -36,13 +37,13 @@ AboutSigninInternalsFactory* AboutSigninInternalsFactory::GetInstance() {
|
| }
|
|
|
| void AboutSigninInternalsFactory::RegisterUserPrefs(
|
| - PrefServiceSyncable* user_prefs) {
|
| + PrefRegistrySyncable* user_prefs) {
|
| // SigninManager information for about:signin-internals.
|
| for (int i = UNTIMED_FIELDS_BEGIN; i < UNTIMED_FIELDS_END; ++i) {
|
| const std::string pref_path = SigninStatusFieldToString(
|
| static_cast<UntimedSigninStatusField>(i));
|
| user_prefs->RegisterStringPref(pref_path.c_str(), "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
| for (int i = TIMED_FIELDS_BEGIN; i < TIMED_FIELDS_END; ++i) {
|
| const std::string value = SigninStatusFieldToString(
|
| @@ -50,9 +51,9 @@ void AboutSigninInternalsFactory::RegisterUserPrefs(
|
| const std::string time = SigninStatusFieldToString(
|
| static_cast<TimedSigninStatusField>(i)) + ".time";
|
| user_prefs->RegisterStringPref(value.c_str(), "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| user_prefs->RegisterStringPref(time.c_str(), "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
| // TokenService information for about:signin-internals.
|
| for (size_t i = 0; i < kNumTokenPrefs; i++) {
|
| @@ -61,11 +62,11 @@ void AboutSigninInternalsFactory::RegisterUserPrefs(
|
| const std::string status = pref + ".status";
|
| const std::string time = pref + ".time";
|
| user_prefs->RegisterStringPref(value.c_str(), "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| user_prefs->RegisterStringPref(status.c_str(), "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| user_prefs->RegisterStringPref(time.c_str(), "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
| }
|
|
|
|
|