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 #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 |
11 // Install Chrome. | |
12 // Currently this is only required when used in combination with kMultiInstall. | |
13 const char kChrome[] = "chrome"; | |
14 | |
15 // Run the installer for Chrome SxS. | 11 // Run the installer for Chrome SxS. |
16 const char kChromeSxS[] = "chrome-sxs"; | 12 const char kChromeSxS[] = "chrome-sxs"; |
17 | 13 |
18 // Create shortcuts for this user to point to a system-level install (which | 14 // Create shortcuts for this user to point to a system-level install (which |
19 // must already be installed on the machine). The shortcuts created will | 15 // must already be installed on the machine). The shortcuts created will |
20 // match the preferences of the already present system-level install as such | 16 // match the preferences of the already present system-level install as such |
21 // this option is not compatible with any other installer options. | 17 // this option is not compatible with any other installer options. |
22 const char kConfigureUserSettings[] = "configure-user-settings"; | 18 const char kConfigureUserSettings[] = "configure-user-settings"; |
23 | 19 |
24 // The version number of an update containing critical fixes, for which an | 20 // The version number of an update containing critical fixes, for which an |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 72 |
77 // Register Chrome as default browser on the system. Usually this will require | 73 // Register Chrome as default browser on the system. Usually this will require |
78 // that setup is running as admin. If running as admin we try to register | 74 // that setup is running as admin. If running as admin we try to register |
79 // as default browser at system level, if running as non-admin we try to | 75 // as default browser at system level, if running as non-admin we try to |
80 // register as default browser only for the current user. | 76 // register as default browser only for the current user. |
81 const char kMakeChromeDefault[] = "make-chrome-default"; | 77 const char kMakeChromeDefault[] = "make-chrome-default"; |
82 | 78 |
83 // Tells installer to expect to be run as a subsidiary to an MSI. | 79 // Tells installer to expect to be run as a subsidiary to an MSI. |
84 const char kMsi[] = "msi"; | 80 const char kMsi[] = "msi"; |
85 | 81 |
86 // Tells installer to install multiple products specified on the command line. | |
87 // (e.g. Chrome Frame, Chrome) | |
88 const char kMultiInstall[] = "multi-install"; | |
89 | |
90 // Useful only when used with --update-setup-exe, otherwise ignored. It | 82 // Useful only when used with --update-setup-exe, otherwise ignored. It |
91 // specifies the full path where updated setup.exe will be stored. | 83 // specifies the full path where updated setup.exe will be stored. |
92 const char kNewSetupExe[] = "new-setup-exe"; | 84 const char kNewSetupExe[] = "new-setup-exe"; |
93 | 85 |
94 // Notify the installer that the OS has been upgraded. | 86 // Notify the installer that the OS has been upgraded. |
95 const char kOnOsUpgrade[] = "on-os-upgrade"; | 87 const char kOnOsUpgrade[] = "on-os-upgrade"; |
96 | 88 |
97 // Provide the previous version that patch is for. | 89 // Provide the previous version that patch is for. |
98 const char kPreviousVersion[] = "previous-version"; | 90 const char kPreviousVersion[] = "previous-version"; |
99 | 91 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 const wchar_t kChromeChannelStableExplicit[] = L"stable"; | 232 const wchar_t kChromeChannelStableExplicit[] = L"stable"; |
241 | 233 |
242 const size_t kMaxAppModelIdLength = 64U; | 234 const size_t kMaxAppModelIdLength = 64U; |
243 | 235 |
244 const char kCourgette[] = "courgette"; | 236 const char kCourgette[] = "courgette"; |
245 const char kBsdiff[] = "bsdiff"; | 237 const char kBsdiff[] = "bsdiff"; |
246 | 238 |
247 const char kSetupHistogramAllocatorName[] = "SetupMetrics"; | 239 const char kSetupHistogramAllocatorName[] = "SetupMetrics"; |
248 | 240 |
249 } // namespace installer | 241 } // namespace installer |
OLD | NEW |