Index: chrome/browser/profiles/profiles_state.h |
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
index a4b4c33f957fa098dc1dd8c26985e0ba19c245aa..1682a2e1cccf140ca441cf74e49c05da76ae48b9 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -13,6 +13,7 @@ class PrefRegistrySimple; |
class Profile; |
class SigninErrorController; |
namespace base { class FilePath; } |
+namespace gfx { class FontList; } |
namespace profiles { |
@@ -34,6 +35,12 @@ void RegisterPrefs(PrefRegistrySimple* registry); |
// custom name. |
base::string16 GetAvatarNameForProfile(const base::FilePath& profile_path); |
+// Returns the string to use in the avatar button for the specified profile. |
+// This is essentially the name returned by GetAvatarNameForProfile, but it |
+// may be elided and contain an indicator for supervised users. |
+base::string16 GetAvatarButtonTextForProfile(Profile* profile, |
+ const gfx::FontList& font_list); |
+ |
// Update the name of |profile| to |new_profile_name|. This updates the |
// profile preferences, which triggers an update in the ProfileInfoCache. |
void UpdateProfileName(Profile* profile, |