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 | |
208 } // namespace switches | 199 } // namespace switches |
209 | 200 |
210 // The Active Setup executable will be an identical copy of setup.exe; this is | 201 // The Active Setup executable will be an identical copy of setup.exe; this is |
211 // necessary because Windows' installer detection heuristics (which include | 202 // necessary because Windows' installer detection heuristics (which include |
212 // things like process name being "setup.exe") will otherwise force elevation | 203 // things like process name being "setup.exe") will otherwise force elevation |
213 // for non-admin users when setup.exe is launched. This is mitigated by adding | 204 // for non-admin users when setup.exe is launched. This is mitigated by adding |
214 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but | 205 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but |
215 // there is no such manifest entry on Windows XP (which results in | 206 // there is no such manifest entry on Windows XP (which results in |
216 // crbug.com/166473). | 207 // crbug.com/166473). |
217 // TODO(gab): Rename setup.exe itself altogether and use the same binary for | 208 // 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... |
263 | 254 |
264 // Chrome channel display names. | 255 // Chrome channel display names. |
265 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 256 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
266 const wchar_t kChromeChannelCanary[] = L"canary"; | 257 const wchar_t kChromeChannelCanary[] = L"canary"; |
267 const wchar_t kChromeChannelDev[] = L"dev"; | 258 const wchar_t kChromeChannelDev[] = L"dev"; |
268 const wchar_t kChromeChannelBeta[] = L"beta"; | 259 const wchar_t kChromeChannelBeta[] = L"beta"; |
269 const wchar_t kChromeChannelStable[] = L""; | 260 const wchar_t kChromeChannelStable[] = L""; |
270 | 261 |
271 const size_t kMaxAppModelIdLength = 64U; | 262 const size_t kMaxAppModelIdLength = 64U; |
272 | 263 |
273 const char kCourgette[] = "courgette"; | |
274 const char kBsdiff[] = "bsdiff"; | |
275 | |
276 } // namespace installer | 264 } // namespace installer |
OLD | NEW |