Chromium Code Reviews| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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_DOWNGRADE = 58, // Successfully downgrade chrome but current | |
|
grt (UTC plus 2)
2016/04/28 16:55:30
please add these to InstallStatus enum in tools/me
zmin
2016/04/28 17:51:29
Done.
| |
| 92 // version is still running. | |
| 93 OLD_VERSION_DOWNGRADE = 59, // Successfully downgrade chrome to an older | |
| 94 // version. | |
| 91 | 95 |
| 92 MAX_INSTALL_STATUS = 58, // Bump this out to make space for new results. | 96 MAX_INSTALL_STATUS = 60, // Bump this out to make space for new results. |
| 93 }; | 97 }; |
| 94 | 98 |
| 95 // The type of an update archive. | 99 // The type of an update archive. |
| 96 enum ArchiveType { | 100 enum ArchiveType { |
| 97 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. | 101 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. |
| 98 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. | 102 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. |
| 99 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. | 103 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. |
| 100 }; | 104 }; |
| 101 | 105 |
| 102 // Stages of an installation reported through Google Update on failure. | 106 // Stages of an installation reported through Google Update on failure. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 254 extern const char kCourgette[]; | 258 extern const char kCourgette[]; |
| 255 extern const char kBsdiff[]; | 259 extern const char kBsdiff[]; |
| 256 | 260 |
| 257 // Name of the allocator (and associated file) for storing histograms to be | 261 // Name of the allocator (and associated file) for storing histograms to be |
| 258 // reported by Chrome during its next upload. | 262 // reported by Chrome during its next upload. |
| 259 extern const char kSetupHistogramAllocatorName[]; | 263 extern const char kSetupHistogramAllocatorName[]; |
| 260 | 264 |
| 261 } // namespace installer | 265 } // namespace installer |
| 262 | 266 |
| 263 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 267 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |