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

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 r237927 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 const int kCourgetteErrorOffset = 300; 262 const int kCourgetteErrorOffset = 300;
261 const int kBsdiffErrorOffset = 600; 263 const int kBsdiffErrorOffset = 600;
262 264
263 // Arguments to --patch switch 265 // Arguments to --patch switch
264 extern const char kCourgette[]; 266 extern const char kCourgette[];
265 extern const char kBsdiff[]; 267 extern const char kBsdiff[];
266 268
267 } // namespace installer 269 } // namespace installer
268 270
269 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 271 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW
« chrome/installer/util/installer_state.h ('K') | « chrome/installer/util/installer_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698