summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/util_constants.cc
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-06 18:46:09 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-06 18:46:09 +0000
commitfe8aa5865854394201f2913dc9141bf2d25f780e (patch)
treea232c23259b0bb6ac86ac875f1dba09a5fcebf43 /chrome/installer/util/util_constants.cc
parent0481124f832fc841b19b0b82bc42e7617f3da8b6 (diff)
downloadchromium_src-fe8aa5865854394201f2913dc9141bf2d25f780e.zip
chromium_src-fe8aa5865854394201f2913dc9141bf2d25f780e.tar.gz
chromium_src-fe8aa5865854394201f2913dc9141bf2d25f780e.tar.bz2
Refactor CreateOrUpdateChromeShortcuts() for a better public API.
This is necessary as the follow-up patches will need a clean way to call CreateOrUpdateChromeShortcuts() while knowing the outcome which was kind of vague before (and would have required passing in a fake InstallStatus to simulate the desired behaviour...). BUG=132825, 127544, 131415 TEST=Install Chrome at user and system-level with and without create_all_shortcuts and verify that shortcut creation is as expected. Over-install this custom installer over chrome-dev after having deleted its shortcuts and verify they are not recreated. Review URL: https://chromiumcodereview.appspot.com/10692034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/util_constants.cc')
-rw-r--r--chrome/installer/util/util_constants.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/installer/util/util_constants.cc b/chrome/installer/util/util_constants.cc
index 37e7c1a..cc444be 100644
--- a/chrome/installer/util/util_constants.cc
+++ b/chrome/installer/util/util_constants.cc
@@ -39,7 +39,8 @@ const char kChromeFrameReadyModeEndTempOptOut[] = "ready-mode-end-temp-opt-out";
// Run the installer for Chrome SxS.
const char kChromeSxS[] = "chrome-sxs";
-// Create Desktop and QuickLaunch shortcuts
+// Create Desktop and QuickLaunch shortcuts (also forces all other shortcuts
+// to be recreated if they were deleted).
const char kCreateAllShortcuts[] = "create-all-shortcuts";
// The version number of an update containing critical fixes, for which an