| 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 // Whether to set Chrome to launch at computer startup. | 11 // Whether to set Chrome to launch at computer startup. |
| 12 const char kAutoLaunchChrome[] = "auto-launch-chrome"; | 12 const char kAutoLaunchChrome[] = "auto-launch-chrome"; |
| 13 | 13 |
| 14 // Install Chrome. | 14 // Install Chrome. |
| 15 // Currently this is only required when used in combination with kMultiInstall. | 15 // Currently this is only required when used in combination with kMultiInstall. |
| 16 const char kChrome[] = "chrome"; | 16 const char kChrome[] = "chrome"; |
| 17 | 17 |
| 18 // Install Chrome App Host. | 18 // Install Chrome App Host. |
| 19 const char kChromeAppHost[] = "app-host"; | 19 const char kChromeAppHost[] = "app-host"; |
| 20 | 20 |
| 21 // Install Chrome App Launcher, which subsumes Chrome App Host, i.e., |
| 22 // App Launcher install converts App Host to App Launcher, and all subsequent |
| 23 // App Host updates/uninstalls become App Launcher updates/uninstalls. |
| 24 const char kChromeAppLauncher[] = "app-launcher"; |
| 25 |
| 21 // Install Chrome Frame. | 26 // Install Chrome Frame. |
| 22 const char kChromeFrame[] = "chrome-frame"; | 27 const char kChromeFrame[] = "chrome-frame"; |
| 23 | 28 |
| 24 // Installs Chrome Frame from an already installed multi-install of Chrome. | 29 // Installs Chrome Frame from an already installed multi-install of Chrome. |
| 25 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; | 30 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; |
| 26 | 31 |
| 27 // When installing Chrome Frame, install it in ready mode. | 32 // When installing Chrome Frame, install it in ready mode. |
| 28 // If --chrome-frame is not on the command line, this switch has no effect. | 33 // If --chrome-frame is not on the command line, this switch has no effect. |
| 29 const char kChromeFrameReadyMode[] = "ready-mode"; | 34 const char kChromeFrameReadyMode[] = "ready-mode"; |
| 30 | 35 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 const wchar_t kInstallerResult[] = L"InstallerResult"; | 220 const wchar_t kInstallerResult[] = L"InstallerResult"; |
| 216 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; | 221 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; |
| 217 const wchar_t kInstallerSuccessLaunchCmdLine[] = | 222 const wchar_t kInstallerSuccessLaunchCmdLine[] = |
| 218 L"InstallerSuccessLaunchCmdLine"; | 223 L"InstallerSuccessLaunchCmdLine"; |
| 219 | 224 |
| 220 // The presence of this environment variable with a value of 1 implies that | 225 // The presence of this environment variable with a value of 1 implies that |
| 221 // we should run as a system installation regardless of what is on the | 226 // we should run as a system installation regardless of what is on the |
| 222 // command line. | 227 // command line. |
| 223 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; | 228 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; |
| 224 | 229 |
| 230 const wchar_t kOptionAppHostIsLauncher[] = L"app-host-is-launcher"; |
| 225 const wchar_t kOptionMultiInstall[] = L"multi-install"; | 231 const wchar_t kOptionMultiInstall[] = L"multi-install"; |
| 226 const wchar_t kOptionReadyMode[] = L"ready-mode"; | 232 const wchar_t kOptionReadyMode[] = L"ready-mode"; |
| 227 | 233 |
| 228 // Chrome channel display names. | 234 // Chrome channel display names. |
| 229 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 235 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
| 230 const wchar_t kChromeChannelCanary[] = L"canary"; | 236 const wchar_t kChromeChannelCanary[] = L"canary"; |
| 231 const wchar_t kChromeChannelDev[] = L"dev"; | 237 const wchar_t kChromeChannelDev[] = L"dev"; |
| 232 const wchar_t kChromeChannelBeta[] = L"beta"; | 238 const wchar_t kChromeChannelBeta[] = L"beta"; |
| 233 const wchar_t kChromeChannelStable[] = L""; | 239 const wchar_t kChromeChannelStable[] = L""; |
| 234 | 240 |
| 235 const size_t kMaxAppModelIdLength = 64U; | 241 const size_t kMaxAppModelIdLength = 64U; |
| 236 | 242 |
| 237 } // namespace installer | 243 } // namespace installer |
| OLD | NEW |