Chromium Code Reviews| Index: chrome/common/pref_names.cc |
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
| index 81ce286b34b6f3b619fa79e23b2f67f8daa59b3e..ed6fc25b5d1807c0a402378d40bb4276d60994dd 100644 |
| --- a/chrome/common/pref_names.cc |
| +++ b/chrome/common/pref_names.cc |
| @@ -1137,6 +1137,17 @@ const char kImportSavedPasswords[] = "import_saved_passwords"; |
| // Profile avatar and name |
| const char kProfileAvatarIndex[] = "profile.avatar_index"; |
| const char kProfileName[] = "profile.name"; |
| +// Whether a profile is using a default avatar name (eg. Pickles or Person 1). |
| +// A value of -1 means the profile is using a default name without having |
| +// explicitely chosen it (i.e. it was assigned by default at profile creation), |
| +// 1 means that the profile is using a default name having chosen it (i.e. the |
|
Bernhard Bauer
2014/08/15 14:39:22
Can you define an enum for these values?
noms (inactive)
2014/08/15 16:22:47
Changed it to a bool.
On 2014/08/15 14:39:22, Bern
|
| +// user specifically chose Pickles) and 0 means that the profile has a custom |
| +// name (i.e. Batman). |
| +const char kProfileUsingDefaultName[] = "profile.using_default_name"; |
| +// Whether a profile is using an avatar without having explicitely chosen it |
| +// (i.e. was assigned by default by legacy profile creation). |
| +const char kProfileUsingDefaultAvatar[] = "profile.using_default_avatar"; |
| +const char kProfileUsingGAIAAvatar[] = "profile.using_gaia_avatar"; |
| // The supervised user ID. |
| const char kSupervisedUserId[] = "profile.managed_user_id"; |