| Index: chrome/installer/util/shell_util.h
|
| diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
|
| index 7d42c3c8394a571efdcb4da0e42ad45948f585e3..33a3b45b75856ee3ba0fd2b1c023d3b3df041612 100644
|
| --- a/chrome/installer/util/shell_util.h
|
| +++ b/chrome/installer/util/shell_util.h
|
| @@ -44,7 +44,9 @@ class ShellUtil {
|
| enum ShortcutLocation {
|
| SHORTCUT_LOCATION_DESKTOP,
|
| SHORTCUT_LOCATION_QUICK_LAUNCH,
|
| - SHORTCUT_LOCATION_START_MENU,
|
| + SHORTCUT_LOCATION_START_MENU_ROOT,
|
| + SHORTCUT_LOCATION_START_MENU_CHROME_DIR,
|
| + SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
|
| SHORTCUT_LOCATION_TASKBAR_PINS, // base::win::VERSION_WIN7 +
|
| SHORTCUT_LOCATION_APP_SHORTCUTS, // base::win::VERSION_WIN8 +
|
| };
|
| @@ -321,7 +323,9 @@ class ShellUtil {
|
| // |properties| and |operation| affect this method as described on their
|
| // invidividual definitions above.
|
| // |location| may be one of SHORTCUT_LOCATION_DESKTOP,
|
| - // SHORTCUT_LOCATION_QUICK_LAUNCH, or SHORTCUT_LOCATION_START_MENU.
|
| + // SHORTCUT_LOCATION_QUICK_LAUNCH, SHORTCUT_LOCATION_START_MENU_ROOT,
|
| + // SHORTCUT_LOCATION_START_MENU_CHROME_DIR, or
|
| + // SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR.
|
| static bool CreateOrUpdateShortcut(
|
| ShellUtil::ShortcutLocation location,
|
| BrowserDistribution* dist,
|
| @@ -516,8 +520,8 @@ class ShellUtil {
|
| // remove all-users shortcuts.
|
| // |target_exe|: Shortcut target exe; shortcuts will only be deleted when
|
| // their target is |target_exe|.
|
| - // If |location| is SHORTCUT_LOCATION_START_MENU, the shortcut folder specific
|
| - // to |dist| is deleted.
|
| + // If |location| is SHORTCUT_LOCATION_START_MENU_CHROME_DIR, the shortcut
|
| + // folder specific to |dist| is deleted.
|
| // Returns true if all shortcuts pointing to |target_exe| are successfully
|
| // deleted, including the case where no such shortcuts are found.
|
| static bool RemoveShortcuts(ShellUtil::ShortcutLocation location,
|
|
|