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

Unified Diff: chrome/browser/ui/cocoa/browser_window_command_handler.mm

Issue 2435053002: Remove the sign-in menu item on macOS. (Closed)
Patch Set: Rebase Created 4 years, 2 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/signin/signin_ui_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_command_handler.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_command_handler.mm b/chrome/browser/ui/cocoa/browser_window_command_handler.mm
index e6970067c48214c757bf3c087d412fee69d61dad..7c5478f753c3afe8bd39c57d141d46f3a4579c39 100644
--- a/chrome/browser/ui/cocoa/browser_window_command_handler.mm
+++ b/chrome/browser/ui/cocoa/browser_window_command_handler.mm
@@ -133,15 +133,6 @@ Browser* FindBrowserForSender(id sender, NSWindow* window) {
[menuItem setTitle:GetTitleForFullscreenMenuItem(browser)];
break;
}
- case IDC_SHOW_SIGNIN: {
- Profile* original_profile = browser->profile()->GetOriginalProfile();
- [AppController updateSigninItem:item
- shouldShow:enable
- currentProfile:original_profile];
- content::RecordAction(
- base::UserMetricsAction("Signin_Impression_FromMenu"));
- break;
- }
case IDC_BOOKMARK_PAGE: {
// Extensions have the ability to hide the bookmark page menu item.
// This only affects the bookmark page menu item under the main menu.
« no previous file with comments | « chrome/browser/signin/signin_ui_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698