summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_info_interface.h
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 18:15:38 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 18:15:38 +0000
commite8e780986edce002e3491f520a7c26775f4ac003 (patch)
tree05ee2ea9569c68ca9aa5659bb1bb92f8ecfed217 /chrome/browser/profiles/profile_info_interface.h
parent92a3fb6af45144500b99820aae84f8d933c7b0b3 (diff)
downloadchromium_src-e8e780986edce002e3491f520a7c26775f4ac003.zip
chromium_src-e8e780986edce002e3491f520a7c26775f4ac003.tar.gz
chromium_src-e8e780986edce002e3491f520a7c26775f4ac003.tar.bz2
Cache sync user name in ProfileInfoCache:w
This change caches the sync user name so that we can display it in the profile menu. BUG=89235 TEST= Review URL: http://codereview.chromium.org/8065025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_info_interface.h')
-rw-r--r--chrome/browser/profiles/profile_info_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_info_interface.h b/chrome/browser/profiles/profile_info_interface.h
index b43c4c1..9677be9 100644
--- a/chrome/browser/profiles/profile_info_interface.h
+++ b/chrome/browser/profiles/profile_info_interface.h
@@ -26,6 +26,8 @@ class ProfileInfoInterface {
virtual FilePath GetPathOfProfileAtIndex(size_t index) const = 0;
+ virtual string16 GetUserNameOfProfileAtIndex(size_t index) const = 0;
+
virtual const gfx::Image& GetAvatarIconOfProfileAtIndex(
size_t index) const = 0;