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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // CONFIGURE_AUTO_LAUNCH = 16, | 121 // CONFIGURE_AUTO_LAUNCH = 16, |
122 CREATING_VISUAL_MANIFEST = 17, // Creating VisualElementsManifest.xml | 122 CREATING_VISUAL_MANIFEST = 17, // Creating VisualElementsManifest.xml |
123 // DEFERRING_TO_HIGHER_VERSION = 18, | 123 // DEFERRING_TO_HIGHER_VERSION = 18, |
124 UNINSTALLING_BINARIES = 19, // Uninstalling unused binaries. | 124 UNINSTALLING_BINARIES = 19, // Uninstalling unused binaries. |
125 UNINSTALLING_CHROME_FRAME = 20, // Uninstalling multi-install Chrome Frame. | 125 UNINSTALLING_CHROME_FRAME = 20, // Uninstalling multi-install Chrome Frame. |
126 NUM_STAGES // The number of stages. | 126 NUM_STAGES // The number of stages. |
127 }; | 127 }; |
128 | 128 |
129 // When we start reporting the numerical values from the enum, the order | 129 // When we start reporting the numerical values from the enum, the order |
130 // above MUST be preserved. | 130 // above MUST be preserved. |
131 COMPILE_ASSERT(UNINSTALLING_CHROME_FRAME == 20, | 131 static_assert(UNINSTALLING_CHROME_FRAME == 20, |
132 never_ever_ever_change_InstallerStage_values_bang); | 132 "Never ever ever change InstallerStage values!"); |
133 | 133 |
134 namespace switches { | 134 namespace switches { |
135 | 135 |
136 extern const char kChrome[]; | 136 extern const char kChrome[]; |
137 extern const char kChromeFrame[]; | 137 extern const char kChromeFrame[]; |
138 extern const char kChromeSxS[]; | 138 extern const char kChromeSxS[]; |
139 extern const char kConfigureUserSettings[]; | 139 extern const char kConfigureUserSettings[]; |
140 extern const char kCriticalUpdateVersion[]; | 140 extern const char kCriticalUpdateVersion[]; |
141 extern const char kDeleteProfile[]; | 141 extern const char kDeleteProfile[]; |
142 extern const char kDisableLogging[]; | 142 extern const char kDisableLogging[]; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 const int kCourgetteErrorOffset = 300; | 250 const int kCourgetteErrorOffset = 300; |
251 const int kBsdiffErrorOffset = 600; | 251 const int kBsdiffErrorOffset = 600; |
252 | 252 |
253 // Arguments to --patch switch | 253 // Arguments to --patch switch |
254 extern const char kCourgette[]; | 254 extern const char kCourgette[]; |
255 extern const char kBsdiff[]; | 255 extern const char kBsdiff[]; |
256 | 256 |
257 } // namespace installer | 257 } // namespace installer |
258 | 258 |
259 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 259 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
OLD | NEW |