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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // User toast experiment switch from system context to user context. | 189 // User toast experiment switch from system context to user context. |
190 const char kSystemLevelToast[] = "system-level-toast"; | 190 const char kSystemLevelToast[] = "system-level-toast"; |
191 | 191 |
192 // The group this experiment belongs to. | 192 // The group this experiment belongs to. |
193 const char kExperimentGroup[] = "experiment-group"; | 193 const char kExperimentGroup[] = "experiment-group"; |
194 | 194 |
195 // A handle value of the key to write the results of the toast experiment | 195 // A handle value of the key to write the results of the toast experiment |
196 // to. See DuplicateGoogleUpdateSystemClientKey for details. | 196 // to. See DuplicateGoogleUpdateSystemClientKey for details. |
197 const char kToastResultsKey[] = "toast-results-key"; | 197 const char kToastResultsKey[] = "toast-results-key"; |
198 | 198 |
| 199 // Applies a binary patch to a file. The input, patch, and the output file are |
| 200 // specified as command line arguments following the --patch switch. |
| 201 // Ex: --patch=courgette --input_file='input' --patch_file='patch' |
| 202 // --output_file='output' |
| 203 const char kPatch[] = "patch"; |
| 204 const char kInputFile[] = "input-file"; |
| 205 const char kPatchFile[] = "patch-file"; |
| 206 const char kOutputFile[] = "output-file"; |
| 207 |
199 } // namespace switches | 208 } // namespace switches |
200 | 209 |
201 // The Active Setup executable will be an identical copy of setup.exe; this is | 210 // The Active Setup executable will be an identical copy of setup.exe; this is |
202 // necessary because Windows' installer detection heuristics (which include | 211 // necessary because Windows' installer detection heuristics (which include |
203 // things like process name being "setup.exe") will otherwise force elevation | 212 // things like process name being "setup.exe") will otherwise force elevation |
204 // for non-admin users when setup.exe is launched. This is mitigated by adding | 213 // for non-admin users when setup.exe is launched. This is mitigated by adding |
205 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but | 214 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but |
206 // there is no such manifest entry on Windows XP (which results in | 215 // there is no such manifest entry on Windows XP (which results in |
207 // crbug.com/166473). | 216 // crbug.com/166473). |
208 // TODO(gab): Rename setup.exe itself altogether and use the same binary for | 217 // TODO(gab): Rename setup.exe itself altogether and use the same binary for |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 263 |
255 // Chrome channel display names. | 264 // Chrome channel display names. |
256 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 265 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
257 const wchar_t kChromeChannelCanary[] = L"canary"; | 266 const wchar_t kChromeChannelCanary[] = L"canary"; |
258 const wchar_t kChromeChannelDev[] = L"dev"; | 267 const wchar_t kChromeChannelDev[] = L"dev"; |
259 const wchar_t kChromeChannelBeta[] = L"beta"; | 268 const wchar_t kChromeChannelBeta[] = L"beta"; |
260 const wchar_t kChromeChannelStable[] = L""; | 269 const wchar_t kChromeChannelStable[] = L""; |
261 | 270 |
262 const size_t kMaxAppModelIdLength = 64U; | 271 const size_t kMaxAppModelIdLength = 64U; |
263 | 272 |
| 273 const char kCourgette[] = "courgette"; |
| 274 const char kBsdiff[] = "bsdiff"; |
| 275 |
264 } // namespace installer | 276 } // namespace installer |
OLD | NEW |