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 12 matching lines...) Expand all Loading... |
23 // App Launcher install converts App Host to App Launcher, and all subsequent | 23 // App Launcher install converts App Host to App Launcher, and all subsequent |
24 // App Host updates/uninstalls become App Launcher updates/uninstalls. | 24 // App Host updates/uninstalls become App Launcher updates/uninstalls. |
25 const char kChromeAppLauncher[] = "app-launcher"; | 25 const char kChromeAppLauncher[] = "app-launcher"; |
26 | 26 |
27 // Install Chrome Frame. | 27 // Install Chrome Frame. |
28 const char kChromeFrame[] = "chrome-frame"; | 28 const char kChromeFrame[] = "chrome-frame"; |
29 | 29 |
30 // Installs Chrome Frame from an already installed multi-install of Chrome. | 30 // Installs Chrome Frame from an already installed multi-install of Chrome. |
31 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; | 31 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; |
32 | 32 |
33 // When installing Chrome Frame, install it in ready mode. | |
34 // If --chrome-frame is not on the command line, this switch has no effect. | |
35 const char kChromeFrameReadyMode[] = "ready-mode"; | |
36 | |
37 // GCF ready mode opt-in. This enables a full installation of GCF. | |
38 const char kChromeFrameReadyModeOptIn[] = "ready-mode-opt-in"; | |
39 | |
40 // GCF ready mode temp opt-out. This disables the GCF user agent modification | |
41 // and detection of headers/meta tags. | |
42 const char kChromeFrameReadyModeTempOptOut[] = "ready-mode-temp-opt-out"; | |
43 | |
44 // End GCF ready mode temp opt-out. This re-enables the GCF user agent | |
45 // modification and detection of headers/meta tags. | |
46 const char kChromeFrameReadyModeEndTempOptOut[] = "ready-mode-end-temp-opt-out"; | |
47 | |
48 // Run the installer for Chrome SxS. | 33 // Run the installer for Chrome SxS. |
49 const char kChromeSxS[] = "chrome-sxs"; | 34 const char kChromeSxS[] = "chrome-sxs"; |
50 | 35 |
51 // Create shortcuts for this user to point to a system-level install (which | 36 // Create shortcuts for this user to point to a system-level install (which |
52 // must already be installed on the machine). The shortcuts created will | 37 // must already be installed on the machine). The shortcuts created will |
53 // match the preferences of the already present system-level install as such | 38 // match the preferences of the already present system-level install as such |
54 // this option is not compatible with any other installer options. | 39 // this option is not compatible with any other installer options. |
55 const char kConfigureUserSettings[] = "configure-user-settings"; | 40 const char kConfigureUserSettings[] = "configure-user-settings"; |
56 | 41 |
57 // The version number of an update containing critical fixes, for which an | 42 // The version number of an update containing critical fixes, for which an |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // Active Setup. | 214 // Active Setup. |
230 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; | 215 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; |
231 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; | 216 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; |
232 const wchar_t kChromeDll[] = L"chrome.dll"; | 217 const wchar_t kChromeDll[] = L"chrome.dll"; |
233 const wchar_t kChromeChildDll[] = L"chrome_child.dll"; | 218 const wchar_t kChromeChildDll[] = L"chrome_child.dll"; |
234 const wchar_t kChromeExe[] = L"chrome.exe"; | 219 const wchar_t kChromeExe[] = L"chrome.exe"; |
235 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | 220 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; |
236 const wchar_t kChromeFrameHelperDll[] = L"chrome_frame_helper.dll"; | 221 const wchar_t kChromeFrameHelperDll[] = L"chrome_frame_helper.dll"; |
237 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | 222 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; |
238 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | 223 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; |
239 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | |
240 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 224 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
241 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 225 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
242 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 226 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
243 const wchar_t kCmdInstallApp[] = L"install-application"; | 227 const wchar_t kCmdInstallApp[] = L"install-application"; |
244 const wchar_t kCmdInstallExtension[] = L"install-extension"; | 228 const wchar_t kCmdInstallExtension[] = L"install-extension"; |
245 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; | 229 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; |
246 const wchar_t kCmdQueryEULAAcceptance[] = L"query-eula-acceptance"; | 230 const wchar_t kCmdQueryEULAAcceptance[] = L"query-eula-acceptance"; |
247 const wchar_t kCmdQuickEnableApplicationHost[] = | 231 const wchar_t kCmdQuickEnableApplicationHost[] = |
248 L"quick-enable-application-host"; | 232 L"quick-enable-application-host"; |
249 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; | 233 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; |
(...skipping 15 matching lines...) Expand all Loading... |
265 const char kUninstallMetricsName[] = "uninstall_metrics"; | 249 const char kUninstallMetricsName[] = "uninstall_metrics"; |
266 const wchar_t kUninstallInstallationDate[] = L"installation_date"; | 250 const wchar_t kUninstallInstallationDate[] = L"installation_date"; |
267 const wchar_t kInstallerError[] = L"InstallerError"; | 251 const wchar_t kInstallerError[] = L"InstallerError"; |
268 const wchar_t kInstallerExtraCode1[] = L"InstallerExtraCode1"; | 252 const wchar_t kInstallerExtraCode1[] = L"InstallerExtraCode1"; |
269 const wchar_t kInstallerResult[] = L"InstallerResult"; | 253 const wchar_t kInstallerResult[] = L"InstallerResult"; |
270 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; | 254 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; |
271 const wchar_t kInstallerSuccessLaunchCmdLine[] = | 255 const wchar_t kInstallerSuccessLaunchCmdLine[] = |
272 L"InstallerSuccessLaunchCmdLine"; | 256 L"InstallerSuccessLaunchCmdLine"; |
273 | 257 |
274 const wchar_t kOptionMultiInstall[] = L"multi-install"; | 258 const wchar_t kOptionMultiInstall[] = L"multi-install"; |
275 const wchar_t kOptionReadyMode[] = L"ready-mode"; | |
276 | 259 |
277 // Chrome channel display names. | 260 // Chrome channel display names. |
278 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 261 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
279 const wchar_t kChromeChannelCanary[] = L"canary"; | 262 const wchar_t kChromeChannelCanary[] = L"canary"; |
280 const wchar_t kChromeChannelDev[] = L"dev"; | 263 const wchar_t kChromeChannelDev[] = L"dev"; |
281 const wchar_t kChromeChannelBeta[] = L"beta"; | 264 const wchar_t kChromeChannelBeta[] = L"beta"; |
282 const wchar_t kChromeChannelStable[] = L""; | 265 const wchar_t kChromeChannelStable[] = L""; |
283 | 266 |
284 const size_t kMaxAppModelIdLength = 64U; | 267 const size_t kMaxAppModelIdLength = 64U; |
285 | 268 |
286 const char kCourgette[] = "courgette"; | 269 const char kCourgette[] = "courgette"; |
287 const char kBsdiff[] = "bsdiff"; | 270 const char kBsdiff[] = "bsdiff"; |
288 | 271 |
289 } // namespace installer | 272 } // namespace installer |
OLD | NEW |