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

Unified Diff: chrome/browser/ui/profile_menu_model.cc

Issue 7453007: Multi-Profiles: Remove delete profile command from avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/ui/profile_menu_model.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/profile_menu_model.cc
diff --git a/chrome/browser/ui/profile_menu_model.cc b/chrome/browser/ui/profile_menu_model.cc
index 5c348b08c5274e027142d85a0f1ceb5e7d777b57..3f2074f571c8b7f57a4541283794699d5bc2ed78 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;
« no previous file with comments | « chrome/browser/ui/profile_menu_model.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698