Index: chrome/browser/ui/browser_command_controller.cc |
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc |
index 3a4be68a10b1abf0d677b2f95bfdd4cbfd5bb1d9..d74c900c28f8173aebc7d9407df72fb5c612d24a 100644 |
--- a/chrome/browser/ui/browser_command_controller.cc |
+++ b/chrome/browser/ui/browser_command_controller.cc |
@@ -834,7 +834,8 @@ void BrowserCommandController::InitCommandState() { |
command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, false); |
UpdateCommandsForDevTools(); |
command_updater_.UpdateCommandEnabled(IDC_TASK_MANAGER, CanOpenTaskManager()); |
- command_updater_.UpdateCommandEnabled(IDC_SHOW_HISTORY, true); |
+ command_updater_.UpdateCommandEnabled(IDC_SHOW_HISTORY, |
+ !Profile::IsGuestSession()); |
command_updater_.UpdateCommandEnabled(IDC_SHOW_DOWNLOADS, true); |
command_updater_.UpdateCommandEnabled(IDC_HELP_PAGE_VIA_KEYBOARD, true); |
command_updater_.UpdateCommandEnabled(IDC_HELP_PAGE_VIA_MENU, true); |