| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 95 SETUP_SINGLETON_ACQUISITION_FAILED = 60, // The setup process could not |
| 96 // acquire the exclusive right to | 96 // acquire the exclusive right to |
| 97 // modify the Chrome installation. | 97 // modify the Chrome installation. |
| 98 SETUP_SINGLETON_RELEASED = 61, // The task did not complete because |
| 99 // another process asked this |
| 100 // process to release the exclusive |
| 101 // right to modify the Chrome |
| 102 // installation. |
| 103 DELETE_OLD_VERSIONS_SUCCESS = 62, // All files that belong to old |
| 104 // versions of Chrome were |
| 105 // successfully deleted. |
| 98 | 106 |
| 99 MAX_INSTALL_STATUS = 61, // Bump this out to make space for new results. | 107 MAX_INSTALL_STATUS = 63, // Bump this out to make space for new results. |
| 100 }; | 108 }; |
| 101 | 109 |
| 102 // The type of an update archive. | 110 // The type of an update archive. |
| 103 enum ArchiveType { | 111 enum ArchiveType { |
| 104 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. | 112 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. |
| 105 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. | 113 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. |
| 106 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. | 114 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. |
| 107 }; | 115 }; |
| 108 | 116 |
| 109 // Stages of an installation from which a progress indication is derived. | 117 // Stages of an installation from which a progress indication is derived. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 133 NUM_STAGES // The number of stages. | 141 NUM_STAGES // The number of stages. |
| 134 }; | 142 }; |
| 135 | 143 |
| 136 namespace switches { | 144 namespace switches { |
| 137 | 145 |
| 138 extern const char kChrome[]; | 146 extern const char kChrome[]; |
| 139 extern const char kChromeFrame[]; | 147 extern const char kChromeFrame[]; |
| 140 extern const char kChromeSxS[]; | 148 extern const char kChromeSxS[]; |
| 141 extern const char kConfigureUserSettings[]; | 149 extern const char kConfigureUserSettings[]; |
| 142 extern const char kCriticalUpdateVersion[]; | 150 extern const char kCriticalUpdateVersion[]; |
| 151 extern const char kDeleteOldVersions[]; |
| 143 extern const char kDeleteProfile[]; | 152 extern const char kDeleteProfile[]; |
| 144 extern const char kDisableLogging[]; | 153 extern const char kDisableLogging[]; |
| 145 extern const char kDoNotLaunchChrome[]; | 154 extern const char kDoNotLaunchChrome[]; |
| 146 extern const char kDoNotRegisterForUpdateLaunch[]; | 155 extern const char kDoNotRegisterForUpdateLaunch[]; |
| 147 extern const char kDoNotRemoveSharedItems[]; | 156 extern const char kDoNotRemoveSharedItems[]; |
| 148 extern const char kEnableLogging[]; | 157 extern const char kEnableLogging[]; |
| 149 extern const char kForceConfigureUserSettings[]; | 158 extern const char kForceConfigureUserSettings[]; |
| 150 extern const char kForceUninstall[]; | 159 extern const char kForceUninstall[]; |
| 151 extern const char kInstallArchive[]; | 160 extern const char kInstallArchive[]; |
| 152 extern const char kInstallerData[]; | 161 extern const char kInstallerData[]; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 extern const char kCourgette[]; | 263 extern const char kCourgette[]; |
| 255 extern const char kBsdiff[]; | 264 extern const char kBsdiff[]; |
| 256 | 265 |
| 257 // Name of the allocator (and associated file) for storing histograms to be | 266 // Name of the allocator (and associated file) for storing histograms to be |
| 258 // reported by Chrome during its next upload. | 267 // reported by Chrome during its next upload. |
| 259 extern const char kSetupHistogramAllocatorName[]; | 268 extern const char kSetupHistogramAllocatorName[]; |
| 260 | 269 |
| 261 } // namespace installer | 270 } // namespace installer |
| 262 | 271 |
| 263 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 272 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |