| Index: chrome/browser/profiles/profiles_state.cc
|
| diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc
|
| index 3c8aa1b5c7e1dad3c39fdf2b10cbf5f2e55ca343..8630a78392eefb0a3c52fceccd2364017d6b3006 100644
|
| --- a/chrome/browser/profiles/profiles_state.cc
|
| +++ b/chrome/browser/profiles/profiles_state.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/pref_names.h"
|
| +#include "components/user_prefs/pref_registry_syncable.h"
|
| #include "grit/generated_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| @@ -50,6 +51,19 @@ void RegisterPrefs(PrefRegistrySimple* registry) {
|
| registry->RegisterListPref(prefs::kProfilesLastActive);
|
| }
|
|
|
| +void RegisterTutorialPrefs(user_prefs::PrefRegistrySyncable* registry) {
|
| +#if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
|
| + registry->RegisterIntegerPref(
|
| + prefs::kProfileAvatarTutorialShown,
|
| + 0,
|
| + user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| + registry->RegisterBooleanPref(
|
| + prefs::kProfileUserManagerTutorialShown,
|
| + false,
|
| + user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| +#endif
|
| +}
|
| +
|
| base::string16 GetAvatarNameForProfile(Profile* profile) {
|
| base::string16 display_name;
|
|
|
|
|