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

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

Issue 96193003: Uninstall multi-install Chrome Frame when updated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r238541 Created 7 years 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 | Annotate | Revision Log
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 REFRESHING_POLICY, // 9: Refreshing the elevation policy. 120 REFRESHING_POLICY, // 9: Refreshing the elevation policy.
121 UPDATING_CHANNELS, // 10: Updating channel information. 121 UPDATING_CHANNELS, // 10: Updating channel information.
122 COPYING_PREFERENCES_FILE, // 11: Copying preferences file. 122 COPYING_PREFERENCES_FILE, // 11: Copying preferences file.
123 CREATING_SHORTCUTS, // 12: Creating shortcuts. 123 CREATING_SHORTCUTS, // 12: Creating shortcuts.
124 REGISTERING_CHROME, // 13: Performing Chrome registration. 124 REGISTERING_CHROME, // 13: Performing Chrome registration.
125 REMOVING_OLD_VERSIONS, // 14: Deleting old version directories. 125 REMOVING_OLD_VERSIONS, // 14: Deleting old version directories.
126 FINISHING, // 15: Finishing the install. 126 FINISHING, // 15: Finishing the install.
127 CONFIGURE_AUTO_LAUNCH, // 16: Configuring Chrome to auto-launch. 127 CONFIGURE_AUTO_LAUNCH, // 16: Configuring Chrome to auto-launch.
128 CREATING_VISUAL_MANIFEST, // 17: Creating VisualElementsManifest.xml 128 CREATING_VISUAL_MANIFEST, // 17: Creating VisualElementsManifest.xml
129 DEFERRING_TO_HIGHER_VERSION, // 18: Deferring to an installed higher version. 129 DEFERRING_TO_HIGHER_VERSION, // 18: Deferring to an installed higher version.
130 NUM_STAGES // 19: The number of stages. 130 UNINSTALLING_BINARIES, // 19: Uninstalling unused binaries.
131 UNINSTALLING_CHROME_FRAME, // 20: Uninstalling multi-install Chrome Frame.
132 NUM_STAGES // 21: The number of stages.
131 }; 133 };
132 134
133 // When we start reporting the numerical values from the enum, the order 135 // When we start reporting the numerical values from the enum, the order
134 // above MUST be preserved. 136 // above MUST be preserved.
135 COMPILE_ASSERT(DEFERRING_TO_HIGHER_VERSION == 18, 137 COMPILE_ASSERT(UNINSTALLING_CHROME_FRAME == 20,
136 never_ever_ever_change_InstallerStage_values_bang); 138 never_ever_ever_change_InstallerStage_values_bang);
137 139
138 namespace switches { 140 namespace switches {
139 141
140 extern const char kAutoLaunchChrome[]; 142 extern const char kAutoLaunchChrome[];
141 extern const char kChrome[]; 143 extern const char kChrome[];
142 extern const char kChromeAppHostDeprecated[]; // TODO(huangs): Remove by M27. 144 extern const char kChromeAppHostDeprecated[]; // TODO(huangs): Remove by M27.
143 extern const char kChromeAppLauncher[]; 145 extern const char kChromeAppLauncher[];
144 extern const char kChromeFrame[]; 146 extern const char kChromeFrame[];
145 extern const char kChromeFrameQuickEnable[]; 147 extern const char kChromeFrameQuickEnable[];
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 extern const char kOutputFile[]; 196 extern const char kOutputFile[];
195 197
196 } // namespace switches 198 } // namespace switches
197 199
198 extern const wchar_t kActiveSetupExe[]; 200 extern const wchar_t kActiveSetupExe[];
199 extern const wchar_t kChromeAppHostExe[]; 201 extern const wchar_t kChromeAppHostExe[];
200 extern const wchar_t kChromeDll[]; 202 extern const wchar_t kChromeDll[];
201 extern const wchar_t kChromeChildDll[]; 203 extern const wchar_t kChromeChildDll[];
202 extern const wchar_t kChromeExe[]; 204 extern const wchar_t kChromeExe[];
203 extern const wchar_t kChromeFrameDll[]; 205 extern const wchar_t kChromeFrameDll[];
206 extern const wchar_t kChromeFrameHelperDll[];
204 extern const wchar_t kChromeFrameHelperExe[]; 207 extern const wchar_t kChromeFrameHelperExe[];
205 extern const wchar_t kChromeFrameHelperWndClass[]; 208 extern const wchar_t kChromeFrameHelperWndClass[];
206 extern const wchar_t kChromeFrameReadyModeField[]; 209 extern const wchar_t kChromeFrameReadyModeField[];
207 extern const wchar_t kChromeLauncherExe[]; 210 extern const wchar_t kChromeLauncherExe[];
208 extern const wchar_t kChromeOldExe[]; 211 extern const wchar_t kChromeOldExe[];
209 extern const wchar_t kChromeNewExe[]; 212 extern const wchar_t kChromeNewExe[];
210 extern const wchar_t kCmdInstallApp[]; 213 extern const wchar_t kCmdInstallApp[];
211 extern const wchar_t kCmdInstallExtension[]; 214 extern const wchar_t kCmdInstallExtension[];
212 extern const wchar_t kCmdOnOsUpgrade[]; 215 extern const wchar_t kCmdOnOsUpgrade[];
213 extern const wchar_t kCmdQueryEULAAcceptance[]; 216 extern const wchar_t kCmdQueryEULAAcceptance[];
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 const int kCourgetteErrorOffset = 300; 263 const int kCourgetteErrorOffset = 300;
261 const int kBsdiffErrorOffset = 600; 264 const int kBsdiffErrorOffset = 600;
262 265
263 // Arguments to --patch switch 266 // Arguments to --patch switch
264 extern const char kCourgette[]; 267 extern const char kCourgette[];
265 extern const char kBsdiff[]; 268 extern const char kBsdiff[];
266 269
267 } // namespace installer 270 } // namespace installer
268 271
269 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 272 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/installer_state_unittest.cc ('k') | chrome/installer/util/util_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698