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..649e1c73a8f139f1ca3f5c0aac0d1cd6b3031578 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -34,6 +34,11 @@ 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); |
+ |
// 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, |