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

Unified Diff: chrome/browser/profiles/profile_avatar_icon_util.h

Issue 1127113003: Don't try to download 'NothingToDownload' placeholder avatar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clarify the comments a bit. Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_avatar_icon_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_avatar_icon_util.h
diff --git a/chrome/browser/profiles/profile_avatar_icon_util.h b/chrome/browser/profiles/profile_avatar_icon_util.h
index 6896f5a83ac8bf69eb8a95270613fe6c862133a9..99ca49b298054600166cd23829085cfa76f523b2 100644
--- a/chrome/browser/profiles/profile_avatar_icon_util.h
+++ b/chrome/browser/profiles/profile_avatar_icon_util.h
@@ -67,7 +67,7 @@ size_t GetDefaultAvatarIconCount();
size_t GetGenericAvatarIconCount();
// Gets the index for the (grey silhouette) avatar used as a placeholder.
-int GetPlaceholderAvatarIndex();
+size_t GetPlaceholderAvatarIndex();
// Gets the resource ID of the placeholder avatar icon.
int GetPlaceholderAvatarIconResourceID();
@@ -78,9 +78,6 @@ int GetDefaultAvatarIconResourceIDAtIndex(size_t index);
// Gets the resource filename of the default avatar icon at |index|.
const char* GetDefaultAvatarIconFileNameAtIndex(size_t index);
-// Gets the file name of an avatar that has no high res version.
-const char* GetNoHighResAvatarFileName();
-
// Gets the full path of the high res avatar icon at |index|.
base::FilePath GetPathOfHighResAvatarAtIndex(size_t index);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_avatar_icon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698