Index: chrome/browser/ui/webui/options/manage_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
index 41689f80a6da7c7bc0cc5074cfee7277a5f75cda..209c73db6f381ef1caf20a2d2a52fa94b7144f60 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -457,6 +457,10 @@ void ManageProfileHandler::RequestHasProfileShortcuts( |
if (profile_index == std::string::npos) |
return; |
+ // Don't show the add/remove desktop shortcut button in the single user case. |
+ if (cache.GetNumberOfProfiles() <= 1) |
+ return; |
+ |
const base::FilePath profile_path = |
cache.GetPathOfProfileAtIndex(profile_index); |
ProfileShortcutManager* shortcut_manager = |