diff options
author | gab <gab@chromium.org> | 2015-07-28 14:58:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-28 21:59:16 +0000 |
commit | 421c7fb0be438453779c053f904fc59acefdc701 (patch) | |
tree | e8ea85f45574ec24f90d2315a5558f6d459c7680 /chrome/installer/setup | |
parent | 2d7f8e78a441f9fda8c5353b3127ea726b055376 (diff) | |
download | chromium_src-421c7fb0be438453779c053f904fc59acefdc701.zip chromium_src-421c7fb0be438453779c053f904fc59acefdc701.tar.gz chromium_src-421c7fb0be438453779c053f904fc59acefdc701.tar.bz2 |
Also restore install-level shortcuts on OS upgrade.
Forgot to force restore on the OS upgrade handling itself, so we are
currently only restoring per-user shortcuts on system-level installs...
BUG=502363
TBR=grt@chromium.org
Review URL: https://codereview.chromium.org/1258343002
Cr-Commit-Position: refs/heads/master@{#340775}
Diffstat (limited to 'chrome/installer/setup')
-rw-r--r-- | chrome/installer/setup/install.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc index 75eeb1a..c6459c0 100644 --- a/chrome/installer/setup/install.cc +++ b/chrome/installer/setup/install.cc @@ -633,8 +633,8 @@ void HandleOsUpgradeForBrowser(const installer::InstallerState& installer_state, InstallShortcutLevel level = installer_state.system_install() ? ALL_USERS : CURRENT_USER; base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe)); - CreateOrUpdateShortcuts( - chrome_exe, chrome, prefs, level, INSTALL_SHORTCUT_REPLACE_EXISTING); + CreateOrUpdateShortcuts(chrome_exe, chrome, prefs, level, + INSTALL_SHORTCUT_CREATE_EACH_IF_NO_SYSTEM_LEVEL); RegisterChromeOnMachine(installer_state, chrome, false); UpdateOsUpgradeBeacon(installer_state.system_install(), |