Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: chrome/installer/util/util_constants.h

Issue 2589753002: Remove multi-install from chrome/installer/setup. (Closed)
Patch Set: lint fixes Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // APP_HOST_REQUIRES_USER_LEVEL = 44, 71 // APP_HOST_REQUIRES_USER_LEVEL = 44,
72 // APP_HOST_REQUIRES_BINARIES = 45, 72 // APP_HOST_REQUIRES_BINARIES = 45,
73 // INSTALL_OF_GOOGLE_UPDATE_FAILED = 46, 73 // INSTALL_OF_GOOGLE_UPDATE_FAILED = 46,
74 INVALID_STATE_FOR_OPTION = 47, // A non-install option was called with an 74 INVALID_STATE_FOR_OPTION = 47, // A non-install option was called with an
75 // invalid installer state. 75 // invalid installer state.
76 // WAIT_FOR_EXISTING_FAILED = 48, 76 // WAIT_FOR_EXISTING_FAILED = 48,
77 PATCH_INVALID_ARGUMENTS = 49, // The arguments of --patch were missing or 77 PATCH_INVALID_ARGUMENTS = 49, // The arguments of --patch were missing or
78 // they were invalid for any reason. 78 // they were invalid for any reason.
79 DIFF_PATCH_SOURCE_MISSING = 50, // No previous version archive found for 79 DIFF_PATCH_SOURCE_MISSING = 50, // No previous version archive found for
80 // differential update. 80 // differential update.
81 UNUSED_BINARIES = 51, // No multi-install products to update. The 81 // UNUSED_BINARIES = 51,
82 // binaries will be uninstalled if they are not 82 // UNUSED_BINARIES_UNINSTALLED = 52,
83 // in use.
84 UNUSED_BINARIES_UNINSTALLED = 52, // The binaries were uninstalled.
85 UNSUPPORTED_OPTION = 53, // An unsupported legacy option was given. 83 UNSUPPORTED_OPTION = 53, // An unsupported legacy option was given.
86 CPU_NOT_SUPPORTED = 54, // Current OS not supported 84 CPU_NOT_SUPPORTED = 54, // Current OS not supported
87 REENABLE_UPDATES_SUCCEEDED = 55, // Autoupdates are now enabled. 85 REENABLE_UPDATES_SUCCEEDED = 55, // Autoupdates are now enabled.
88 REENABLE_UPDATES_FAILED = 56, // Autoupdates could not be enabled. 86 REENABLE_UPDATES_FAILED = 56, // Autoupdates could not be enabled.
89 UNPACKING_FAILED = 57, // Unpacking the (possibly patched) uncompressed 87 UNPACKING_FAILED = 57, // Unpacking the (possibly patched) uncompressed
90 // archive failed. 88 // archive failed.
91 IN_USE_DOWNGRADE = 58, // Successfully downgrade chrome but current 89 IN_USE_DOWNGRADE = 58, // Successfully downgrade chrome but current
92 // version is still running. 90 // version is still running.
93 OLD_VERSION_DOWNGRADE = 59, // Successfully downgrade chrome to an older 91 OLD_VERSION_DOWNGRADE = 59, // Successfully downgrade chrome to an older
94 // version. 92 // version.
(...skipping 25 matching lines...) Expand all
120 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. 118 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive.
121 }; 119 };
122 120
123 // Stages of an installation from which a progress indication is derived. 121 // Stages of an installation from which a progress indication is derived.
124 // Generally listed in the order in which they are reached. The exceptions to 122 // Generally listed in the order in which they are reached. The exceptions to
125 // this are the fork-and-join for diff vs. full installers (where there are 123 // this are the fork-and-join for diff vs. full installers (where there are
126 // additional (costly) stages for the former) and rollback in case of error. 124 // additional (costly) stages for the former) and rollback in case of error.
127 enum InstallerStage { 125 enum InstallerStage {
128 NO_STAGE, // No stage to report. 126 NO_STAGE, // No stage to report.
129 UPDATING_SETUP, // Courgette patching setup.exe (diff). 127 UPDATING_SETUP, // Courgette patching setup.exe (diff).
130 UNINSTALLING_CHROME_FRAME, // Uninstalling multi-install Chrome Frame.
131 PRECONDITIONS, // Evaluating pre-install conditions. 128 PRECONDITIONS, // Evaluating pre-install conditions.
132 UNCOMPRESSING, // Uncompressing chrome.packed.7z. 129 UNCOMPRESSING, // Uncompressing chrome.packed.7z.
133 PATCHING, // Patching chrome.7z using Courgette (diff). 130 PATCHING, // Patching chrome.7z using Courgette (diff).
134 UNPACKING, // Unpacking chrome.7z. 131 UNPACKING, // Unpacking chrome.7z.
135 CREATING_VISUAL_MANIFEST, // Creating VisualElementsManifest.xml. 132 CREATING_VISUAL_MANIFEST, // Creating VisualElementsManifest.xml.
136 BUILDING, // Building the install work item list. 133 BUILDING, // Building the install work item list.
137 EXECUTING, // Executing the install work item list. 134 EXECUTING, // Executing the install work item list.
138 REFRESHING_POLICY, // Refreshing the elevation policy.
139 UPDATING_CHANNELS, // Updating channel information. 135 UPDATING_CHANNELS, // Updating channel information.
140 COPYING_PREFERENCES_FILE, // Copying preferences file. 136 COPYING_PREFERENCES_FILE, // Copying preferences file.
141 CREATING_SHORTCUTS, // Creating shortcuts. 137 CREATING_SHORTCUTS, // Creating shortcuts.
142 REGISTERING_CHROME, // Performing Chrome registration. 138 REGISTERING_CHROME, // Performing Chrome registration.
143 REMOVING_OLD_VERSIONS, // Deleting old version directories. 139 REMOVING_OLD_VERSIONS, // Deleting old version directories.
144 ROLLINGBACK, // Rolling-back the install work item list. 140 ROLLINGBACK, // Rolling-back the install work item list.
145 FINISHING, // Finishing the install. 141 FINISHING, // Finishing the install.
146 UNINSTALLING_BINARIES, // Uninstalling unused binaries.
147 NUM_STAGES // The number of stages. 142 NUM_STAGES // The number of stages.
148 }; 143 };
149 144
150 namespace switches { 145 namespace switches {
151 146
152 extern const char kChrome[]; 147 extern const char kChrome[];
153 extern const char kChromeFrame[]; 148 extern const char kChromeFrame[];
154 extern const char kChromeSxS[]; 149 extern const char kChromeSxS[];
155 extern const char kConfigureUserSettings[]; 150 extern const char kConfigureUserSettings[];
156 extern const char kCriticalUpdateVersion[]; 151 extern const char kCriticalUpdateVersion[];
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 194
200 } // namespace switches 195 } // namespace switches
201 196
202 namespace env_vars { 197 namespace env_vars {
203 198
204 extern const char kGoogleUpdateIsMachineEnvVar[]; 199 extern const char kGoogleUpdateIsMachineEnvVar[];
205 200
206 } // namespace env_vars 201 } // namespace env_vars
207 202
208 extern const wchar_t kActiveSetupExe[]; 203 extern const wchar_t kActiveSetupExe[];
209 extern const wchar_t kAppLauncherGuid[];
210 extern const wchar_t kChromeDll[]; 204 extern const wchar_t kChromeDll[];
211 extern const wchar_t kChromeChildDll[]; 205 extern const wchar_t kChromeChildDll[];
212 extern const wchar_t kChromeExe[]; 206 extern const wchar_t kChromeExe[];
213 extern const wchar_t kChromeFrameDll[]; 207 extern const wchar_t kChromeFrameDll[];
214 extern const wchar_t kChromeFrameHelperDll[]; 208 extern const wchar_t kChromeFrameHelperDll[];
215 extern const wchar_t kChromeFrameHelperExe[]; 209 extern const wchar_t kChromeFrameHelperExe[];
216 extern const wchar_t kChromeFrameHelperWndClass[]; 210 extern const wchar_t kChromeFrameHelperWndClass[];
217 extern const wchar_t kChromeLauncherExe[]; 211 extern const wchar_t kChromeLauncherExe[];
218 extern const wchar_t kChromeNewExe[]; 212 extern const wchar_t kChromeNewExe[];
219 extern const wchar_t kChromeOldExe[]; 213 extern const wchar_t kChromeOldExe[];
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 extern const char kCourgette[]; 262 extern const char kCourgette[];
269 extern const char kBsdiff[]; 263 extern const char kBsdiff[];
270 264
271 // Name of the allocator (and associated file) for storing histograms to be 265 // Name of the allocator (and associated file) for storing histograms to be
272 // reported by Chrome during its next upload. 266 // reported by Chrome during its next upload.
273 extern const char kSetupHistogramAllocatorName[]; 267 extern const char kSetupHistogramAllocatorName[];
274 268
275 } // namespace installer 269 } // namespace installer
276 270
277 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 271 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698