Index: chrome/browser/ui/gtk/profile_menu_button.h |
diff --git a/chrome/browser/ui/gtk/profile_menu_button.h b/chrome/browser/ui/gtk/profile_menu_button.h |
index 0049bd43d8eb95ffd47b600e21a63da79f51ddc5..8f21a3c534c7ae7b871a6e3bf021221def05637a 100644 |
--- a/chrome/browser/ui/gtk/profile_menu_button.h |
+++ b/chrome/browser/ui/gtk/profile_menu_button.h |
@@ -19,11 +19,11 @@ class ProfileMenuModel; |
// Shows the button for the multiprofile menu. |
class ProfileMenuButton { |
public: |
- ProfileMenuButton(); |
+ explicit ProfileMenuButton(Profile* profile); |
virtual ~ProfileMenuButton(); |
- virtual void UpdateText(Profile* profile); |
+ virtual void UpdateText(); |
GtkWidget* widget() const { return widget_.get(); } |
@@ -34,6 +34,7 @@ class ProfileMenuButton { |
scoped_ptr<MenuGtk> menu_; |
scoped_ptr<ProfileMenuModel> profile_menu_model_; |
OwnedWidgetGtk widget_; |
+ Profile* profile_; |
DISALLOW_COPY_AND_ASSIGN(ProfileMenuButton); |
}; |