Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9537)

Unified Diff: chrome/installer/util/shell_util.h

Issue 11275333: Merge 166285 - Re-commit: Introduce RemoveChromeTaskbarShortcuts() to delete all pinned-to-taskbar … (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1312/src/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.h
===================================================================
--- chrome/installer/util/shell_util.h (revision 167785)
+++ chrome/installer/util/shell_util.h (working copy)
@@ -515,6 +515,13 @@
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);
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698