summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup/uninstall.cc
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 22:23:12 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 22:23:12 +0000
commite99ee9cd37864004d9f98f3880405fc651f29b58 (patch)
treee8d93e091efd2db0006ca5a8928d220a0343ab19 /chrome/installer/setup/uninstall.cc
parent4b200875a6d0bef1ddf58bf05247f819da7243ae (diff)
downloadchromium_src-e99ee9cd37864004d9f98f3880405fc651f29b58.zip
chromium_src-e99ee9cd37864004d9f98f3880405fc651f29b58.tar.gz
chromium_src-e99ee9cd37864004d9f98f3880405fc651f29b58.tar.bz2
Revert 165505 - Introduce RemoveChromeTaskbarShortcuts() to delete all pinned-to-taskbar shortcuts owned by the uninstalled Chrome.
TBR=brettw@chromium.org BUG=158632 TEST=No user-level shortcut Chrome left behind in taskbar post user-level self-destruct. Review URL: https://chromiumcodereview.appspot.com/11361015 TBR=gab@chromium.org Review URL: https://codereview.chromium.org/11366047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup/uninstall.cc')
-rw-r--r--chrome/installer/setup/uninstall.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 5c6e6c5..2fb193b 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -307,13 +307,6 @@ void DeleteChromeShortcuts(const InstallerState& installer_state,
LOG(WARNING) << "Failed to delete Start Menu shortcuts.";
}
- // Although the shortcut removal calls above will unpin their shortcut if they
- // result in a deletion (i.e. shortcut existed and pointed to |chrome_exe|),
- // it is possible for shortcuts to remain pinned while their parent shortcut
- // has been deleted or changed to point to another |chrome_exe|. Make sure all
- // pinned-to-taskbar shortcuts that point to |chrome_exe| are unpinned.
- ShellUtil::RemoveChromeTaskbarShortcuts(chrome_exe);
-
ShellUtil::RemoveChromeStartScreenShortcuts(product.distribution(),
chrome_exe);
}