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

Unified Diff: chrome/browser/ui/profile_menu_model.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/profile_menu_model.h
diff --git a/chrome/browser/ui/profile_menu_model.h b/chrome/browser/ui/profile_menu_model.h
index bbb7071fb5767688b526b14d9d7e5b4e3554e4d9..e463dde9ff3dc24a046bde5eccd239fcef035bb7 100644
--- a/chrome/browser/ui/profile_menu_model.h
+++ b/chrome/browser/ui/profile_menu_model.h
@@ -8,6 +8,8 @@
#include "ui/base/models/simple_menu_model.h"
+class Profile;
+
// ProfileMenuModel
//
// Menu for the multi-profile button displayed on the browser frame when the
@@ -16,7 +18,7 @@
class ProfileMenuModel : public ui::SimpleMenuModel,
public ui::SimpleMenuModel::Delegate {
public:
- explicit ProfileMenuModel();
+ explicit ProfileMenuModel(Profile* profile);
virtual ~ProfileMenuModel();
// ui::SimpleMenuModel::Delegate implementation
@@ -29,8 +31,11 @@ class ProfileMenuModel : public ui::SimpleMenuModel,
private:
enum {
COMMAND_CREATE_NEW_PROFILE,
+ COMMAND_DELETE_PROFILE,
};
+ Profile* profile_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileMenuModel);
};

Powered by Google App Engine
This is Rietveld 408576698