OVERRIDE;
virtual bool ProfileIsEphemeralAtIndex(size_t index) const OVERRIDE;
virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const OVERRIDE;
+ virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const OVERRIDE;
size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const;
void SetProfileActiveTimeAtIndex(size_t index);
+ // Warning: This will re-sort profiles and thus may change indices!
void SetNameOfProfileAtIndex(size_t index, const base::string16& name);
void SetShortcutNameOfProfileAtIndex(size_t index,
const base::string16& name);
const std::string& auth);
void SetBackgroundStatusOfProfileAtIndex(size_t index,
bool running_background_apps);
+ // Warning: This will re-sort profiles and thus may change indices!
void SetGAIANameOfProfileAtIndex(size_t index, const base::string16& name);
+ // Warning: This will re-sort profiles and thus may change indices!
void SetGAIAGivenNameOfProfileAtIndex(size_t index,
const base::string16& name);
void SetGAIAPictureOfProfileAtIndex(size_t index, const gfx::Image* image);
void SetProfileSigninRequiredAtIndex(size_t index, bool value);
void SetProfileIsEphemeralAtIndex(size_t index, bool value);
void SetProfileIsUsingDefaultNameAtIndex(size_t index, bool value);
+ void SetProfileIsUsingDefaultAvatarAtIndex(size_t index, bool value);
+
+ // Determines whether |name| is one of the default assigned names.
+ bool IsDefaultProfileName(const base::string16& name);
// Returns unique name that can be assigned to a newly created profile.
base::string16 ChooseNameForNewProfile(size_t icon_index) const;