| Index: chrome/browser/profiles/profile_attributes_entry.cc
|
| diff --git a/chrome/browser/profiles/profile_attributes_entry.cc b/chrome/browser/profiles/profile_attributes_entry.cc
|
| index 3031322abfa146d812089c064c768bedf572a118..02096540f59df9585791f515f28c62f0361ece88 100644
|
| --- a/chrome/browser/profiles/profile_attributes_entry.cc
|
| +++ b/chrome/browser/profiles/profile_attributes_entry.cc
|
| @@ -176,6 +176,10 @@ void ProfileAttributesEntry::SetShortcutName(const base::string16& name) {
|
| profile_info_cache_->SetShortcutNameOfProfileAtIndex(profile_index(), name);
|
| }
|
|
|
| +void ProfileAttributesEntry::SetActiveTimeToNow() {
|
| + profile_info_cache_->SetProfileActiveTimeAtIndex(profile_index());
|
| +}
|
| +
|
| void ProfileAttributesEntry::SetIsOmitted(bool is_omitted) {
|
| profile_info_cache_->SetIsOmittedProfileAtIndex(profile_index(), is_omitted);
|
| }
|
| @@ -269,6 +273,12 @@ void ProfileAttributesEntry::SetAuthInfo(
|
| profile_index(), gaia_id, user_name);
|
| }
|
|
|
| +void ProfileAttributesEntry::SaveAvatarImage(const gfx::Image* image,
|
| + const std::string& key, const base::FilePath& image_path) {
|
| + profile_info_cache_->SaveAvatarImageAtPath(image, key, image_path,
|
| + GetPath());
|
| +}
|
| +
|
| size_t ProfileAttributesEntry::profile_index() const {
|
| size_t index = profile_info_cache_->GetIndexOfProfileWithPath(profile_path_);
|
| DCHECK(index < profile_info_cache_->GetNumberOfProfiles());
|
|
|