Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1060)

Unified Diff: chrome/browser/profiles/profile_attributes_entry.cc

Issue 1631373003: Refactor ProfileInfoCache in c/b/ui/app_list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, moved sorting code to GetAllProfilesAttributesSortedByName Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3adf2a0bffd53c2632b46826be473144bed427bc..3031322abfa146d812089c064c768bedf572a118 100644
--- a/chrome/browser/profiles/profile_attributes_entry.cc
+++ b/chrome/browser/profiles/profile_attributes_entry.cc
@@ -39,7 +39,7 @@ base::string16 ProfileAttributesEntry::GetUserName() const {
return profile_info_cache_->GetUserNameOfProfileAtIndex(profile_index());
}
-const gfx::Image& ProfileAttributesEntry::GetAvatarIcon() {
+const gfx::Image& ProfileAttributesEntry::GetAvatarIcon() const {
return profile_info_cache_->GetAvatarIconOfProfileAtIndex(profile_index());
}

Powered by Google App Engine
This is Rietveld 408576698