summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_menu_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/app_menu_model.h')
-rw-r--r--chrome/browser/app_menu_model.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/app_menu_model.h b/chrome/browser/app_menu_model.h
index d298a86..41343d4 100644
--- a/chrome/browser/app_menu_model.h
+++ b/chrome/browser/app_menu_model.h
@@ -14,26 +14,19 @@ class Browser;
// A menu model that builds the contents of the app menu. This menu has only
// one level (no submenus).
-class AppMenuModel : public menus::SimpleMenuModel,
- public GetProfilesHelper::Delegate {
+class AppMenuModel : public menus::SimpleMenuModel {
public:
explicit AppMenuModel(menus::SimpleMenuModel::Delegate* delegate,
Browser* browser);
virtual ~AppMenuModel();
- // Overridden from GetProfilesHelper::Delegate
- virtual void OnGetProfilesDone(
- const std::vector<std::wstring>& profiles);
-
private:
void Build();
+ void BuildProfileSubMenu();
// Contents of the profiles menu to populate with profile names.
scoped_ptr<menus::SimpleMenuModel> profiles_menu_contents_;
- // Helper class to enumerate profiles information on the file thread.
- scoped_refptr<GetProfilesHelper> profiles_helper_;
-
Browser* browser_; // weak
DISALLOW_COPY_AND_ASSIGN(AppMenuModel);