Index: chrome/installer/setup/install.cc |
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc |
index 409fa25218b65e6ddd5a747fb386d559d2dc4a61..37a141703c97c70802e98f00b823b2b7791abdbb 100644 |
--- a/chrome/installer/setup/install.cc |
+++ b/chrome/installer/setup/install.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/common/chrome_switches.h" |
#include "chrome/installer/setup/install_worker.h" |
#include "chrome/installer/setup/setup_constants.h" |
+#include "chrome/installer/setup/setup_util.h" |
#include "chrome/installer/setup/update_active_setup_version_work_item.h" |
#include "chrome/installer/util/auto_launch_util.h" |
#include "chrome/installer/util/beacons.h" |
@@ -655,6 +656,13 @@ void HandleActiveSetupForBrowser(const base::FilePath& installation_root, |
const installer::Product& chrome, |
bool force) { |
DCHECK(chrome.is_chrome()); |
+ |
+ // If the shortcuts are not being forcefully created we may want to forcefully |
+ // create them anyways if this Active Setup trigger is in response to an OS |
+ // update. |
+ force = force || installer::UpdateLastOSUpgradeHandledByActiveSetup( |
+ chrome.distribution()); |
+ |
// Only create shortcuts on Active Setup if the first run sentinel is not |
// present for this user (as some shortcuts used to be installed on first |
// run and this could otherwise re-install shortcuts for users that have |