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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 BUILDING = 6, // Building the install work item list. | 111 BUILDING = 6, // Building the install work item list. |
112 EXECUTING = 7, // Executing the install work item list. | 112 EXECUTING = 7, // Executing the install work item list. |
113 ROLLINGBACK = 8, // Rolling-back the install work item list. | 113 ROLLINGBACK = 8, // Rolling-back the install work item list. |
114 REFRESHING_POLICY = 9, // Refreshing the elevation policy. | 114 REFRESHING_POLICY = 9, // Refreshing the elevation policy. |
115 UPDATING_CHANNELS = 10, // Updating channel information. | 115 UPDATING_CHANNELS = 10, // Updating channel information. |
116 COPYING_PREFERENCES_FILE = 11, // Copying preferences file. | 116 COPYING_PREFERENCES_FILE = 11, // Copying preferences file. |
117 CREATING_SHORTCUTS = 12, // Creating shortcuts. | 117 CREATING_SHORTCUTS = 12, // Creating shortcuts. |
118 REGISTERING_CHROME = 13, // Performing Chrome registration. | 118 REGISTERING_CHROME = 13, // Performing Chrome registration. |
119 REMOVING_OLD_VERSIONS = 14, // Deleting old version directories. | 119 REMOVING_OLD_VERSIONS = 14, // Deleting old version directories. |
120 FINISHING = 15, // Finishing the install. | 120 FINISHING = 15, // Finishing the install. |
121 CONFIGURE_AUTO_LAUNCH = 16, // Configuring Chrome to auto-launch. | 121 // CONFIGURE_AUTO_LAUNCH = 16, // Deprecated. |
grt (UTC plus 2)
2015/11/12 17:49:03
nit: please remove the "// Deprecated." comment fo
gab
2015/11/12 18:44:26
Done.
| |
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 COMPILE_ASSERT(UNINSTALLING_CHROME_FRAME == 20, |
132 never_ever_ever_change_InstallerStage_values_bang); | 132 never_ever_ever_change_InstallerStage_values_bang); |
133 | 133 |
134 namespace switches { | 134 namespace switches { |
135 | 135 |
136 extern const char kAutoLaunchChrome[]; | |
137 extern const char kChrome[]; | 136 extern const char kChrome[]; |
138 extern const char kChromeFrame[]; | 137 extern const char kChromeFrame[]; |
139 extern const char kChromeSxS[]; | 138 extern const char kChromeSxS[]; |
140 extern const char kConfigureUserSettings[]; | 139 extern const char kConfigureUserSettings[]; |
141 extern const char kCriticalUpdateVersion[]; | 140 extern const char kCriticalUpdateVersion[]; |
142 extern const char kDeleteProfile[]; | 141 extern const char kDeleteProfile[]; |
143 extern const char kDisableLogging[]; | 142 extern const char kDisableLogging[]; |
144 extern const char kDoNotLaunchChrome[]; | 143 extern const char kDoNotLaunchChrome[]; |
145 extern const char kDoNotRegisterForUpdateLaunch[]; | 144 extern const char kDoNotRegisterForUpdateLaunch[]; |
146 extern const char kDoNotRemoveSharedItems[]; | 145 extern const char kDoNotRemoveSharedItems[]; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
251 const int kCourgetteErrorOffset = 300; | 250 const int kCourgetteErrorOffset = 300; |
252 const int kBsdiffErrorOffset = 600; | 251 const int kBsdiffErrorOffset = 600; |
253 | 252 |
254 // Arguments to --patch switch | 253 // Arguments to --patch switch |
255 extern const char kCourgette[]; | 254 extern const char kCourgette[]; |
256 extern const char kBsdiff[]; | 255 extern const char kBsdiff[]; |
257 | 256 |
258 } // namespace installer | 257 } // namespace installer |
259 | 258 |
260 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 259 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
OLD | NEW |