Index: chrome/browser/profiles/avatar_menu.h |
diff --git a/chrome/browser/profiles/avatar_menu.h b/chrome/browser/profiles/avatar_menu.h |
index 80f24fd631bbc50ed0fc599f0a7af6b0f4dcfe06..0e0d5f49dfdf1dd67f43097a1d7961e3e0c6f9ef 100644 |
--- a/chrome/browser/profiles/avatar_menu.h |
+++ b/chrome/browser/profiles/avatar_menu.h |
@@ -65,8 +65,8 @@ class AvatarMenu : public content::NotificationObserver { |
// profiles. |
size_t menu_index; |
- // The index in the |profile_cache| for this profile. |
- size_t profile_index; |
+ // The path where this profile is located. |
+ base::FilePath profile_path; |
}; |
// Constructor. |observer| can be NULL. |browser| can be NULL and a new one |
@@ -112,8 +112,8 @@ class AvatarMenu : public content::NotificationObserver { |
// Gets the Item at the specified index. |
const Item& GetItemAt(size_t index) const; |
- // Returns the index of the active profile. |
- size_t GetActiveProfileIndex(); |
+ // Returns the item representing of the active profile. |
+ const Item& GetActiveProfileItem() const; |
// Returns information about a managed user which will be displayed in the |
// avatar menu. If the profile does not belong to a managed user, an empty |