diff options
author | bcwhite <bcwhite@chromium.org> | 2015-07-09 03:58:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-09 10:59:17 +0000 |
commit | 974453e16791b896bdce75273402834db414a0e9 (patch) | |
tree | c4c4ff689e8ca406b3df20a0817a9a7aefee86df /chrome/installer/util | |
parent | 4c711b5767ccea7095621defa2fb77580a132cca (diff) | |
download | chromium_src-974453e16791b896bdce75273402834db414a0e9.zip chromium_src-974453e16791b896bdce75273402834db414a0e9.tar.gz chromium_src-974453e16791b896bdce75273402834db414a0e9.tar.bz2 |
Use --previous-version command-line parameter.
If that parameter is provided, match only that specific version
of an install.
BUG=385419
Review URL: https://codereview.chromium.org/1220193008
Cr-Commit-Position: refs/heads/master@{#338011}
Diffstat (limited to 'chrome/installer/util')
-rw-r--r-- | chrome/installer/util/util_constants.cc | 3 | ||||
-rw-r--r-- | chrome/installer/util/util_constants.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/installer/util/util_constants.cc b/chrome/installer/util/util_constants.cc index bfb5406..a1afbcd 100644 --- a/chrome/installer/util/util_constants.cc +++ b/chrome/installer/util/util_constants.cc @@ -96,6 +96,9 @@ const char kNewSetupExe[] = "new-setup-exe"; // Notify the installer that the OS has been upgraded. const char kOnOsUpgrade[] = "on-os-upgrade"; +// Provide the previous version that patch is for. +const char kPreviousVersion[] = "previous-version"; + // Requests that setup attempt to reenable autoupdates for Chrome. const char kReenableAutoupdates[] = "reenable-autoupdates"; diff --git a/chrome/installer/util/util_constants.h b/chrome/installer/util/util_constants.h index b09e65e..389da42 100644 --- a/chrome/installer/util/util_constants.h +++ b/chrome/installer/util/util_constants.h @@ -155,6 +155,7 @@ extern const char kMsi[]; extern const char kMultiInstall[]; extern const char kNewSetupExe[]; extern const char kOnOsUpgrade[]; +extern const char kPreviousVersion[]; extern const char kReenableAutoupdates[]; extern const char kRegisterChromeBrowser[]; extern const char kRegisterChromeBrowserSuffix[]; |