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

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

Issue 2333853002: Support --delete-old-versions in setup.exe. (Closed)
Patch Set: CR grt/rkaplow #8-9 Created 4 years, 2 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
« no previous file with comments | « chrome/installer/util/util_constants.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/installer/util/util_constants.h" 5 #include "chrome/installer/util/util_constants.h"
6 6
7 namespace installer { 7 namespace installer {
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 10 matching lines...) Expand all
21 // Create shortcuts for this user to point to a system-level install (which 21 // Create shortcuts for this user to point to a system-level install (which
22 // must already be installed on the machine). The shortcuts created will 22 // must already be installed on the machine). The shortcuts created will
23 // match the preferences of the already present system-level install as such 23 // match the preferences of the already present system-level install as such
24 // this option is not compatible with any other installer options. 24 // this option is not compatible with any other installer options.
25 const char kConfigureUserSettings[] = "configure-user-settings"; 25 const char kConfigureUserSettings[] = "configure-user-settings";
26 26
27 // The version number of an update containing critical fixes, for which an 27 // The version number of an update containing critical fixes, for which an
28 // in-use Chrome should be restarted ASAP. 28 // in-use Chrome should be restarted ASAP.
29 const char kCriticalUpdateVersion[] = "critical-update-version"; 29 const char kCriticalUpdateVersion[] = "critical-update-version";
30 30
31 // Delete files that belong to old versions of Chrome from the install
32 // directory.
33 const char kDeleteOldVersions[] = "delete-old-versions";
34
31 // Delete user profile data. This param is useful only when specified with 35 // Delete user profile data. This param is useful only when specified with
32 // kUninstall, otherwise it is silently ignored. 36 // kUninstall, otherwise it is silently ignored.
33 const char kDeleteProfile[] = "delete-profile"; 37 const char kDeleteProfile[] = "delete-profile";
34 38
35 // Disable logging 39 // Disable logging
36 const char kDisableLogging[] = "disable-logging"; 40 const char kDisableLogging[] = "disable-logging";
37 41
38 // Prevent installer from launching Chrome after a successful first install. 42 // Prevent installer from launching Chrome after a successful first install.
39 const char kDoNotLaunchChrome[] = "do-not-launch-chrome"; 43 const char kDoNotLaunchChrome[] = "do-not-launch-chrome";
40 44
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 const wchar_t kChromeChannelStableExplicit[] = L"stable"; 255 const wchar_t kChromeChannelStableExplicit[] = L"stable";
252 256
253 const size_t kMaxAppModelIdLength = 64U; 257 const size_t kMaxAppModelIdLength = 64U;
254 258
255 const char kCourgette[] = "courgette"; 259 const char kCourgette[] = "courgette";
256 const char kBsdiff[] = "bsdiff"; 260 const char kBsdiff[] = "bsdiff";
257 261
258 const char kSetupHistogramAllocatorName[] = "SetupMetrics"; 262 const char kSetupHistogramAllocatorName[] = "SetupMetrics";
259 263
260 } // namespace installer 264 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/util_constants.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698