| Index: chrome/installer/util/shell_util.h
|
| ===================================================================
|
| --- chrome/installer/util/shell_util.h (revision 174984)
|
| +++ chrome/installer/util/shell_util.h (working copy)
|
| @@ -495,21 +495,21 @@
|
| const string16& protocol,
|
| bool elevate_if_not_admin);
|
|
|
| - // Removes installed shortcut at |location|.
|
| - // |chrome_exe|: The path to the chrome.exe being uninstalled; the shortcut
|
| - // will only be deleted if its target is also |chrome_exe|.
|
| + // Removes installed shortcut(s) at |location|.
|
| + // |target_exe|: Shortcut target exe; shortcuts will only be deleted when
|
| + // their target is |target_exe|.
|
| // |level|: CURRENT_USER to remove the per-user shortcut and SYSTEM_LEVEL to
|
| // remove the all-users shortcut.
|
| // |shortcut_name|: If non-null, remove the shortcut named |shortcut_name| at
|
| - // location; otherwise remove the default shortcut at |location|.
|
| - // If |location| is SHORTCUT_LOCATION_START_MENU the shortcut folder specific
|
| + // location; otherwise remove all shortcuts to |target_exe| at |location|.
|
| + // If |location| is SHORTCUT_LOCATION_START_MENU, the shortcut folder specific
|
| // to |dist| is deleted.
|
| - // Also attempts to unpin the removed shortcut from the taskbar.
|
| - // Returns true if the shortcut was successfully deleted (or there is no
|
| - // shortcut at |location| pointing to |chrome_exe|).
|
| + // Also attempts to unpin the removed shortcut(s) from the taskbar.
|
| + // Returns true if the shortcut(s) were successfully deleted (or there were
|
| + // none at |location| pointing to |target_exe|).
|
| static bool RemoveShortcut(ShellUtil::ShortcutLocation location,
|
| BrowserDistribution* dist,
|
| - const string16& target_exe,
|
| + const FilePath& target_exe,
|
| ShellChange level,
|
| const string16* shortcut_name);
|
|
|
|
|