summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/util_constants.cc
diff options
context:
space:
mode:
authorhuangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 01:59:50 +0000
committerhuangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 01:59:50 +0000
commit783edf6895ece484af745e686d7294fb76d8f0e8 (patch)
treed48a8b32b0625ca12caf13564cd1c817b1eb78d9 /chrome/installer/util/util_constants.cc
parentee2e1adaa8868b1cc135ca9d5a68fe7a5d780fd2 (diff)
downloadchromium_src-783edf6895ece484af745e686d7294fb76d8f0e8.zip
chromium_src-783edf6895ece484af745e686d7294fb76d8f0e8.tar.gz
chromium_src-783edf6895ece484af745e686d7294fb76d8f0e8.tar.bz2
Ensuring Google Update at user-level is installed alongside App Host, for the quick-enable App Host flow
1. Added new switch to setup.exe: --ensure-google-update-installed. 2. When invoked, if user-level Google Update is not installed, then it executes: GoogleUpdateSetup.exe /install "runtime=true&needsadmin=false" /silent to install user-level Google Update, using GoogleUpdateSetup.exe from system-level install. 3. The --ensure-google-update-installed switch is added to the quick-enable-application-host command. Caveats: - We are not validating Google Setup install from setup.exe, since it is launched as a separate process. BUG=138320 Review URL: https://chromiumcodereview.appspot.com/10957016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158962 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, 3 insertions, 0 deletions
diff --git a/chrome/installer/util/util_constants.cc b/chrome/installer/util/util_constants.cc
index b27f61c..a2ca05b 100644
--- a/chrome/installer/util/util_constants.cc
+++ b/chrome/installer/util/util_constants.cc
@@ -79,6 +79,9 @@ const char kDoNotRemoveSharedItems[] = "do-not-remove-shared-items";
// Enable logging at the error level. This is the default behavior.
const char kEnableLogging[] = "enable-logging";
+// Ensures that Google Update is present at the current level of installation.
+const char kEnsureGoogleUpdatePresent[] = "ensure-google-update-present";
+
// If present, setup will uninstall chrome without asking for any
// confirmation from user.
const char kForceUninstall[] = "force-uninstall";