Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: chrome/browser/ui/gtk/profile_menu_button.h

Issue 7321011: Multi-Profiles: Add delete profile command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug code Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698