Index: chrome/browser/chrome_browser_main_win.cc |
=================================================================== |
--- chrome/browser/chrome_browser_main_win.cc (revision 109887) |
+++ chrome/browser/chrome_browser_main_win.cc (working copy) |
@@ -22,6 +22,8 @@ |
#include "chrome/browser/browser_util_win.h" |
#include "chrome/browser/first_run/first_run.h" |
#include "chrome/browser/metrics/metrics_service.h" |
+#include "chrome/browser/profiles/profile_info_cache.h" |
+#include "chrome/browser/profiles/profile_shortcut_manager_win.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/views/uninstall_view.h" |
#include "chrome/common/chrome_constants.h" |
@@ -143,6 +145,10 @@ |
if (!ShellUtil::RemoveChromeDesktopShortcut(dist, ShellUtil::CURRENT_USER, |
false)) |
VLOG(1) << "Failed to delete desktop shortcut."; |
+ if (!ShellUtil::RemoveChromeDesktopShortcutsWithAppendedNames( |
+ ProfileShortcutManagerWin::GenerateShortcutsFromProfiles( |
+ ProfileInfoCache::GetProfileNames()))) |
grt (UTC plus 2)
2011/11/18 16:02:15
nit: braces are required for these since the condi
|
+ VLOG(1) << "Failed to delete desktop profiles shortcuts."; |
if (!ShellUtil::RemoveChromeQuickLaunchShortcut(dist, |
ShellUtil::CURRENT_USER)) |
VLOG(1) << "Failed to delete quick launch shortcut."; |