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 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
147 // to support in-use updates. Also deletes opv key. | 147 // to support in-use updates. Also deletes opv key. |
148 const char kRenameChromeExe[] = "rename-chrome-exe"; | 148 const char kRenameChromeExe[] = "rename-chrome-exe"; |
149 | 149 |
150 // Removes Chrome registration from current machine. Requires admin rights. | 150 // Removes Chrome registration from current machine. Requires admin rights. |
151 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; | 151 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; |
152 | 152 |
153 // When we try to relaunch setup.exe as admin on Vista, we append this command | 153 // When we try to relaunch setup.exe as admin on Vista, we append this command |
154 // line flag so that we try the launch only once. | 154 // line flag so that we try the launch only once. |
155 const char kRunAsAdmin[] = "run-as-admin"; | 155 const char kRunAsAdmin[] = "run-as-admin"; |
156 | 156 |
157 // Combined with --uninstall, signals to setup.exe that this uninstall was | |
158 // triggered by a self-destructing Chrome. | |
159 const char kSelfDestruct[] = "self-destruct"; | |
grt (UTC plus 2)
2013/01/02 17:59:33
I think this switch should be a little more explic
gab
2013/01/02 21:15:48
I can imagine more cases where we would want to do
| |
160 | |
157 // Install Chrome to system wise location. The default is per user install. | 161 // Install Chrome to system wise location. The default is per user install. |
158 const char kSystemLevel[] = "system-level"; | 162 const char kSystemLevel[] = "system-level"; |
159 | 163 |
160 // If present, setup will uninstall chrome. | 164 // If present, setup will uninstall chrome. |
161 const char kUninstall[] = "uninstall"; | 165 const char kUninstall[] = "uninstall"; |
162 | 166 |
163 // Also see --new-setup-exe. This command line option specifies a diff patch | 167 // Also see --new-setup-exe. This command line option specifies a diff patch |
164 // that setup.exe will apply to itself and store the resulting binary in the | 168 // that setup.exe will apply to itself and store the resulting binary in the |
165 // path given by --new-setup-exe. | 169 // path given by --new-setup-exe. |
166 const char kUpdateSetupExe[] = "update-setup-exe"; | 170 const char kUpdateSetupExe[] = "update-setup-exe"; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
240 // Chrome channel display names. | 244 // Chrome channel display names. |
241 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 245 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
242 const wchar_t kChromeChannelCanary[] = L"canary"; | 246 const wchar_t kChromeChannelCanary[] = L"canary"; |
243 const wchar_t kChromeChannelDev[] = L"dev"; | 247 const wchar_t kChromeChannelDev[] = L"dev"; |
244 const wchar_t kChromeChannelBeta[] = L"beta"; | 248 const wchar_t kChromeChannelBeta[] = L"beta"; |
245 const wchar_t kChromeChannelStable[] = L""; | 249 const wchar_t kChromeChannelStable[] = L""; |
246 | 250 |
247 const size_t kMaxAppModelIdLength = 64U; | 251 const size_t kMaxAppModelIdLength = 64U; |
248 | 252 |
249 } // namespace installer | 253 } // namespace installer |
OLD | NEW |