OLD | NEW |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_DOWNGRADE = 58, // Successfully downgrade chrome but current | 91 IN_USE_DOWNGRADE = 58, // Successfully downgrade chrome but current |
92 // version is still running. | 92 // version is still running. |
93 OLD_VERSION_DOWNGRADE = 59, // Successfully downgrade chrome to an older | 93 OLD_VERSION_DOWNGRADE = 59, // Successfully downgrade chrome to an older |
94 // version. | 94 // version. |
| 95 SETUP_SINGLETON_ACQUISITION_FAILED = 60, // The setup process could not |
| 96 // acquire the exclusive right to |
| 97 // modify the Chrome installation. |
95 | 98 |
96 MAX_INSTALL_STATUS = 60, // Bump this out to make space for new results. | 99 MAX_INSTALL_STATUS = 61, // Bump this out to make space for new results. |
97 }; | 100 }; |
98 | 101 |
99 // The type of an update archive. | 102 // The type of an update archive. |
100 enum ArchiveType { | 103 enum ArchiveType { |
101 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. | 104 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. |
102 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. | 105 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. |
103 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. | 106 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. |
104 }; | 107 }; |
105 | 108 |
106 // Stages of an installation from which a progress indication is derived. | 109 // Stages of an installation from which a progress indication is derived. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 extern const char kCourgette[]; | 254 extern const char kCourgette[]; |
252 extern const char kBsdiff[]; | 255 extern const char kBsdiff[]; |
253 | 256 |
254 // Name of the allocator (and associated file) for storing histograms to be | 257 // Name of the allocator (and associated file) for storing histograms to be |
255 // reported by Chrome during its next upload. | 258 // reported by Chrome during its next upload. |
256 extern const char kSetupHistogramAllocatorName[]; | 259 extern const char kSetupHistogramAllocatorName[]; |
257 | 260 |
258 } // namespace installer | 261 } // namespace installer |
259 | 262 |
260 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 263 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
OLD | NEW |