diff options
-rw-r--r-- | chrome/browser/ui/profile_menu_model.cc | 7 | ||||
-rw-r--r-- | chrome/browser/ui/profile_menu_model.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/ui/profile_menu_model.cc b/chrome/browser/ui/profile_menu_model.cc index 5c348b08..3f2074f 100644 --- a/chrome/browser/ui/profile_menu_model.cc +++ b/chrome/browser/ui/profile_menu_model.cc @@ -163,9 +163,6 @@ ProfileMenuModel::ProfileMenuModel(Browser* browser) AddItem(COMMAND_CREATE_NEW_PROFILE, l10n_util::GetStringFUTF16( IDS_PROFILES_CREATE_NEW_PROFILE_OPTION, short_product_name)); } - - AddItemWithStringId(COMMAND_DELETE_PROFILE, - IDS_PROFILES_DELETE_PROFILE); } ProfileMenuModel::~ProfileMenuModel() { @@ -200,10 +197,6 @@ void ProfileMenuModel::ExecuteCommand(int command_id) { case COMMAND_CREATE_NEW_PROFILE: ProfileManager::CreateMultiProfileAsync(); break; - case COMMAND_DELETE_PROFILE: - g_browser_process->profile_manager()->ScheduleProfileForDeletion( - browser_->profile()->GetPath()); - break; default: NOTREACHED(); break; diff --git a/chrome/browser/ui/profile_menu_model.h b/chrome/browser/ui/profile_menu_model.h index 376a68c..47c3d6c 100644 --- a/chrome/browser/ui/profile_menu_model.h +++ b/chrome/browser/ui/profile_menu_model.h @@ -18,7 +18,6 @@ class ProfileMenuModel : public ui::SimpleMenuModel, COMMAND_PROFILE_NAME, COMMAND_CHOOSE_AVATAR_ICON, COMMAND_CUSTOMIZE_PROFILE, - COMMAND_DELETE_PROFILE, COMMAND_CREATE_NEW_PROFILE, COMMAND_SWITCH_PROFILE_MENU, // The profiles submenu contains a menu item for each profile. For the i'th |