Index: chrome/browser/profiles/profile_info_cache.h |
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h |
index 90fcc5d4e7a620f3697f6e367ea372830a5c0865..f58fbdab1c0863aa65c33f8486bc455f1cf3d1fe 100644 |
--- a/chrome/browser/profiles/profile_info_cache.h |
+++ b/chrome/browser/profiles/profile_info_cache.h |
@@ -105,6 +105,8 @@ class ProfileInfoCache : public ProfileInfoInterface, |
static int GetDefaultAvatarIconResourceIDAtIndex(size_t index); |
// Returns a URL for the default avatar icon with specified index. |
static std::string GetDefaultAvatarIconUrl(size_t index); |
+ // Checks if |index| is a valid avatar icon index |
+ static bool IsDefaultAvatarIconIndex(size_t index); |
// Checks if the given URL points to one of the default avatar icons. If it |
// is, returns true and its index through |icon_index|. If not, returns false. |
static bool IsDefaultAvatarIconUrl(const std::string& icon_url, |