summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_info_cache.h
diff options
context:
space:
mode:
authorjwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-03 03:16:39 +0000
committerjwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-03 03:16:39 +0000
commit93790804de1267a9f5f0fc4db9b854dce26ecac3 (patch)
tree4a40e1e31d20ef267925ab22cbea54f09fb8b40a /chrome/browser/profiles/profile_info_cache.h
parent9de8fb77690b7752953bc9ff8c60c94182a65453 (diff)
downloadchromium_src-93790804de1267a9f5f0fc4db9b854dce26ecac3.zip
chromium_src-93790804de1267a9f5f0fc4db9b854dce26ecac3.tar.gz
chromium_src-93790804de1267a9f5f0fc4db9b854dce26ecac3.tar.bz2
Making profile avatars and names sync.
BUG=87658 TEST=Have two machines with chrome, both with multiple profiles and each with one profile signed in to the same account. Change avatar/name on one, and it will change on the other. Review URL: http://codereview.chromium.org/8771024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_info_cache.h')
-rw-r--r--chrome/browser/profiles/profile_info_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
index 90fcc5d..f58fbdab 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,