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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // system, but in 'single' mode. | 59 // system, but in 'single' mode. |
60 MULTI_INSTALLATION_EXISTS, // 35. We tried to do a 'single' install but | 60 MULTI_INSTALLATION_EXISTS, // 35. We tried to do a 'single' install but |
61 // failed because there's an existing | 61 // failed because there's an existing |
62 // multi-install installation of the same product | 62 // multi-install installation of the same product |
63 // on the system. | 63 // on the system. |
64 READY_MODE_OPT_IN_FAILED, // 36. Failed to opt-into Chrome Frame. | 64 READY_MODE_OPT_IN_FAILED, // 36. Failed to opt-into Chrome Frame. |
65 READY_MODE_TEMP_OPT_OUT_FAILED, // 37. Failed to temporarily opt-out of | 65 READY_MODE_TEMP_OPT_OUT_FAILED, // 37. Failed to temporarily opt-out of |
66 // Chrome Frame. | 66 // Chrome Frame. |
67 READY_MODE_END_TEMP_OPT_OUT_FAILED, // 38. Failed to end temporary opt-out | 67 READY_MODE_END_TEMP_OPT_OUT_FAILED, // 38. Failed to end temporary opt-out |
68 // of Chrome Frame. | 68 // of Chrome Frame. |
| 69 CONFLICTING_CHANNEL_EXISTS, // 39. A multi-install product on a different |
| 70 // update channel exists. |
| 71 READY_MODE_REQUIRES_CHROME, // 40. Chrome Frame in ready-mode requires Chrome |
69 }; | 72 }; |
70 | 73 |
71 namespace switches { | 74 namespace switches { |
72 extern const char kCeee[]; | 75 extern const char kCeee[]; |
73 extern const char kChrome[]; | 76 extern const char kChrome[]; |
74 extern const char kChromeFrame[]; | 77 extern const char kChromeFrame[]; |
75 extern const char kChromeFrameReadyMode[]; | 78 extern const char kChromeFrameReadyMode[]; |
76 extern const char kChromeFrameReadyModeOptIn[]; | 79 extern const char kChromeFrameReadyModeOptIn[]; |
77 extern const char kChromeFrameReadyModeTempOptOut[]; | 80 extern const char kChromeFrameReadyModeTempOptOut[]; |
78 extern const char kChromeFrameReadyModeEndTempOptOut[]; | 81 extern const char kChromeFrameReadyModeEndTempOptOut[]; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 extern const wchar_t kUninstallInstallationDate[]; | 137 extern const wchar_t kUninstallInstallationDate[]; |
135 extern const char kUninstallMetricsName[]; | 138 extern const char kUninstallMetricsName[]; |
136 extern const wchar_t kUninstallStringField[]; | 139 extern const wchar_t kUninstallStringField[]; |
137 | 140 |
138 // Used by InstallUtil::WriteInstallerResult. | 141 // Used by InstallUtil::WriteInstallerResult. |
139 extern const wchar_t kInstallerResult[]; | 142 extern const wchar_t kInstallerResult[]; |
140 extern const wchar_t kInstallerError[]; | 143 extern const wchar_t kInstallerError[]; |
141 extern const wchar_t kInstallerResultUIString[]; | 144 extern const wchar_t kInstallerResultUIString[]; |
142 extern const wchar_t kInstallerSuccessLaunchCmdLine[]; | 145 extern const wchar_t kInstallerSuccessLaunchCmdLine[]; |
143 | 146 |
| 147 // Product options. |
| 148 extern const wchar_t kOptionCeee[]; |
| 149 extern const wchar_t kOptionMultiInstall[]; |
| 150 extern const wchar_t kOptionReadyMode[]; |
| 151 |
144 } // namespace installer | 152 } // namespace installer |
145 | 153 |
146 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 154 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
OLD | NEW |