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

Side by Side Diff: chrome/installer/util/util_constants.h

Issue 1914213002: Support rollback with installerdata in mini_installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Defines all install related constants that need to be used by Chrome as 5 // Defines all install related constants that need to be used by Chrome as
6 // well as Chrome Installer. 6 // well as Chrome Installer.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 UNUSED_BINARIES = 51, // No multi-install products to update. The 81 UNUSED_BINARIES = 51, // No multi-install products to update. The
82 // binaries will be uninstalled if they are not 82 // binaries will be uninstalled if they are not
83 // in use. 83 // in use.
84 UNUSED_BINARIES_UNINSTALLED = 52, // The binaries were uninstalled. 84 UNUSED_BINARIES_UNINSTALLED = 52, // The binaries were uninstalled.
85 UNSUPPORTED_OPTION = 53, // An unsupported legacy option was given. 85 UNSUPPORTED_OPTION = 53, // An unsupported legacy option was given.
86 CPU_NOT_SUPPORTED = 54, // Current OS not supported 86 CPU_NOT_SUPPORTED = 54, // Current OS not supported
87 REENABLE_UPDATES_SUCCEEDED = 55, // Autoupdates are now enabled. 87 REENABLE_UPDATES_SUCCEEDED = 55, // Autoupdates are now enabled.
88 REENABLE_UPDATES_FAILED = 56, // Autoupdates could not be enabled. 88 REENABLE_UPDATES_FAILED = 56, // Autoupdates could not be enabled.
89 UNPACKING_FAILED = 57, // Unpacking the (possibly patched) uncompressed 89 UNPACKING_FAILED = 57, // Unpacking the (possibly patched) uncompressed
90 // archive failed. 90 // archive failed.
91 IN_USE_ROLLBACK = 58, // Chrome successfully rollback but current
Georges Khalil 2016/04/27 12:38:02 nit (comment suggestion): Successful chrome rollba
zmin 2016/04/27 15:20:18 Done.
92 // version is running.
93 OLD_VERSION_ROLLBACK = 59, // Chrome successfully rollback to old version.
Georges Khalil 2016/04/27 12:38:02 nit (comment suggestion): Successful chrome rollba
zmin 2016/04/27 15:20:18 Done.
91 94
92 MAX_INSTALL_STATUS = 58, // Bump this out to make space for new results. 95 MAX_INSTALL_STATUS = 60, // Bump this out to make space for new results.
93 }; 96 };
94 97
95 // The type of an update archive. 98 // The type of an update archive.
96 enum ArchiveType { 99 enum ArchiveType {
97 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. 100 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized.
98 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. 101 FULL_ARCHIVE_TYPE, // Full chrome.7z archive.
99 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. 102 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive.
100 }; 103 };
101 104
102 // Stages of an installation reported through Google Update on failure. 105 // Stages of an installation reported through Google Update on failure.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 extern const char kCourgette[]; 257 extern const char kCourgette[];
255 extern const char kBsdiff[]; 258 extern const char kBsdiff[];
256 259
257 // Name of the allocator (and associated file) for storing histograms to be 260 // Name of the allocator (and associated file) for storing histograms to be
258 // reported by Chrome during its next upload. 261 // reported by Chrome during its next upload.
259 extern const char kSetupHistogramAllocatorName[]; 262 extern const char kSetupHistogramAllocatorName[];
260 263
261 } // namespace installer 264 } // namespace installer
262 265
263 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 266 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW
« chrome/installer/setup/setup_util.cc ('K') | « chrome/installer/util/master_preferences_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698