Index: chrome/installer/util/shell_util.h |
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h |
index 4e121c57d395f21bd0e3c1261da92c418f2d62f2..5a4786c754a62bdfbc7aea0e86496527d6e15e05 100644 |
--- a/chrome/installer/util/shell_util.h |
+++ b/chrome/installer/util/shell_util.h |
@@ -515,6 +515,13 @@ class ShellUtil { |
ShellChange level, |
const string16* shortcut_name); |
+ // Enumerates all shortcuts pinned to the taskbar and deletes those pointing |
+ // to |chrome_exe|. |
+ // base::win::TaskbarUnpinShortcutLink() should be prefered, but this is |
+ // useful on uninstall as the parent shortcut of a pin might no longer exist |
+ // (thus making it impossible to unpin it via that API). |
+ static void RemoveChromeTaskbarShortcuts(const string16& chrome_exe); |
+ |
// This will remove all secondary tiles from the start screen for |dist|. |
static void RemoveChromeStartScreenShortcuts(BrowserDistribution* dist, |
const string16& chrome_exe); |