Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3987)

Unified Diff: chrome/installer/util/util_constants.h

Issue 2333853002: Support --delete-old-versions in setup.exe. (Closed)
Patch Set: CR grt/rkaplow #8-9 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/setup_singleton.cc ('k') | chrome/installer/util/util_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/util_constants.h
diff --git a/chrome/installer/util/util_constants.h b/chrome/installer/util/util_constants.h
index 3fd49cf1c438c050b628fdd21a45580735fd7df0..2bd274fd9595b01de928ee9e1ba45e20cec90f90 100644
--- a/chrome/installer/util/util_constants.h
+++ b/chrome/installer/util/util_constants.h
@@ -95,8 +95,22 @@ enum InstallStatus {
SETUP_SINGLETON_ACQUISITION_FAILED = 60, // The setup process could not
// acquire the exclusive right to
// modify the Chrome installation.
+ SETUP_SINGLETON_RELEASED = 61, // The task did not complete because
+ // another process asked this
+ // process to release the exclusive
+ // right to modify the Chrome
+ // installation.
+ DELETE_OLD_VERSIONS_SUCCESS = 62, // All files that belong to old
+ // versions of Chrome were
+ // successfully deleted.
+ DELETE_OLD_VERSIONS_TOO_MANY_ATTEMPTS = 63, // A --delete-old-versions
+ // process exited after trying to
+ // delete all files that belong
+ // to old versions of Chrome too
+ // many times without success.
- MAX_INSTALL_STATUS = 61, // Bump this out to make space for new results.
+ MAX_INSTALL_STATUS = 64, // When adding a new result, bump this and update
+ // the InstallStatus enum in histograms.xml.
};
// The type of an update archive.
@@ -140,6 +154,7 @@ extern const char kChromeFrame[];
extern const char kChromeSxS[];
extern const char kConfigureUserSettings[];
extern const char kCriticalUpdateVersion[];
+extern const char kDeleteOldVersions[];
extern const char kDeleteProfile[];
extern const char kDisableLogging[];
extern const char kDoNotLaunchChrome[];
« no previous file with comments | « chrome/installer/setup/setup_singleton.cc ('k') | chrome/installer/util/util_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698