| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 10 #pragma once |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 READY_MODE_OPT_IN_FAILED, // 36. Failed to opt-into Chrome Frame. | 66 READY_MODE_OPT_IN_FAILED, // 36. Failed to opt-into Chrome Frame. |
| 67 READY_MODE_TEMP_OPT_OUT_FAILED, // 37. Failed to temporarily opt-out of | 67 READY_MODE_TEMP_OPT_OUT_FAILED, // 37. Failed to temporarily opt-out of |
| 68 // Chrome Frame. | 68 // Chrome Frame. |
| 69 READY_MODE_END_TEMP_OPT_OUT_FAILED, // 38. Failed to end temporary opt-out | 69 READY_MODE_END_TEMP_OPT_OUT_FAILED, // 38. Failed to end temporary opt-out |
| 70 // of Chrome Frame. | 70 // of Chrome Frame. |
| 71 CONFLICTING_CHANNEL_EXISTS, // 39. A multi-install product on a different | 71 CONFLICTING_CHANNEL_EXISTS, // 39. A multi-install product on a different |
| 72 // update channel exists. | 72 // update channel exists. |
| 73 READY_MODE_REQUIRES_CHROME, // 40. Chrome Frame in ready-mode requires Chrome | 73 READY_MODE_REQUIRES_CHROME, // 40. Chrome Frame in ready-mode requires Chrome |
| 74 REQUIRES_MULTI_INSTALL, // 41. --multi-install was missing from the | 74 REQUIRES_MULTI_INSTALL, // 41. --multi-install was missing from the |
| 75 // command line. | 75 // command line. |
| 76 APPLY_DIFF_PATCH_FAILED, // 42. Failed to apply a diff patch. |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 | 79 |
| 79 // If the following compile assert fires it means that the InstallStatus | 80 // If the following compile assert fires it means that the InstallStatus |
| 80 // enumeration changed which will break the contract between the old | 81 // enumeration changed which will break the contract between the old |
| 81 // chrome installed and the new setup.exe that is trying to upgrade. | 82 // chrome installed and the new setup.exe that is trying to upgrade. |
| 82 COMPILE_ASSERT(installer::CONFLICTING_CHANNEL_EXISTS == 39, | 83 COMPILE_ASSERT(installer::CONFLICTING_CHANNEL_EXISTS == 39, |
| 83 dont_change_enum); | 84 dont_change_enum); |
| 84 | 85 |
| 85 // The type of an update archive. | 86 // The type of an update archive. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 extern const wchar_t kInstallerSuccessLaunchCmdLine[]; | 187 extern const wchar_t kInstallerSuccessLaunchCmdLine[]; |
| 187 | 188 |
| 188 // Product options. | 189 // Product options. |
| 189 extern const wchar_t kOptionCeee[]; | 190 extern const wchar_t kOptionCeee[]; |
| 190 extern const wchar_t kOptionMultiInstall[]; | 191 extern const wchar_t kOptionMultiInstall[]; |
| 191 extern const wchar_t kOptionReadyMode[]; | 192 extern const wchar_t kOptionReadyMode[]; |
| 192 | 193 |
| 193 } // namespace installer | 194 } // namespace installer |
| 194 | 195 |
| 195 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 196 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |