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. |
| 19 const char kChromeAppHost[] = "app-host"; |
| 20 |
18 // Install Chrome Frame. | 21 // Install Chrome Frame. |
19 const char kChromeFrame[] = "chrome-frame"; | 22 const char kChromeFrame[] = "chrome-frame"; |
20 | 23 |
21 // Installs Chrome Frame from an already installed multi-install of Chrome. | 24 // Installs Chrome Frame from an already installed multi-install of Chrome. |
22 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; | 25 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; |
23 | 26 |
24 // When installing Chrome Frame, install it in ready mode. | 27 // When installing Chrome Frame, install it in ready mode. |
25 // If --chrome-frame is not on the command line, this switch has no effect. | 28 // If --chrome-frame is not on the command line, this switch has no effect. |
26 const char kChromeFrameReadyMode[] = "ready-mode"; | 29 const char kChromeFrameReadyMode[] = "ready-mode"; |
27 | 30 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 163 |
161 // The group this experiment belongs to. | 164 // The group this experiment belongs to. |
162 const char kExperimentGroup[] = "experiment-group"; | 165 const char kExperimentGroup[] = "experiment-group"; |
163 | 166 |
164 // A handle value of the key to write the results of the toast experiment | 167 // A handle value of the key to write the results of the toast experiment |
165 // to. See DuplicateGoogleUpdateSystemClientKey for details. | 168 // to. See DuplicateGoogleUpdateSystemClientKey for details. |
166 const char kToastResultsKey[] = "toast-results-key"; | 169 const char kToastResultsKey[] = "toast-results-key"; |
167 | 170 |
168 } // namespace switches | 171 } // namespace switches |
169 | 172 |
| 173 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; |
170 const wchar_t kChromeDll[] = L"chrome.dll"; | 174 const wchar_t kChromeDll[] = L"chrome.dll"; |
171 const wchar_t kChromeExe[] = L"chrome.exe"; | 175 const wchar_t kChromeExe[] = L"chrome.exe"; |
172 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | 176 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; |
173 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | 177 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; |
174 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | 178 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; |
175 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | 179 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; |
176 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 180 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
177 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 181 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
178 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 182 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
| 183 const wchar_t kCmdInstallApp[] = L"install-application"; |
| 184 const wchar_t kCmdQuickEnableApplicationHost[] = |
| 185 L"quick-enable-application-host"; |
179 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; | 186 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; |
180 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; | 187 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; |
181 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; | 188 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; |
182 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; | 189 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; |
183 const wchar_t kInstallBinaryDir[] = L"Application"; | 190 const wchar_t kInstallBinaryDir[] = L"Application"; |
184 const wchar_t kInstallerDir[] = L"Installer"; | 191 const wchar_t kInstallerDir[] = L"Installer"; |
185 const wchar_t kInstallTempDir[] = L"Temp"; | 192 const wchar_t kInstallTempDir[] = L"Temp"; |
186 const wchar_t kInstallUserDataDir[] = L"User Data"; | 193 const wchar_t kInstallUserDataDir[] = L"User Data"; |
187 const wchar_t kNaClExe[] = L"nacl64.exe"; | 194 const wchar_t kNaClExe[] = L"nacl64.exe"; |
188 // The CLSID of the proxy stub OLE Automation universal marshaler, the default | 195 // The CLSID of the proxy stub OLE Automation universal marshaler, the default |
(...skipping 24 matching lines...) Expand all Loading... |
213 // Chrome channel display names. | 220 // Chrome channel display names. |
214 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 221 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
215 const wchar_t kChromeChannelCanary[] = L"canary"; | 222 const wchar_t kChromeChannelCanary[] = L"canary"; |
216 const wchar_t kChromeChannelDev[] = L"dev"; | 223 const wchar_t kChromeChannelDev[] = L"dev"; |
217 const wchar_t kChromeChannelBeta[] = L"beta"; | 224 const wchar_t kChromeChannelBeta[] = L"beta"; |
218 const wchar_t kChromeChannelStable[] = L""; | 225 const wchar_t kChromeChannelStable[] = L""; |
219 | 226 |
220 const size_t kMaxAppModelIdLength = 64U; | 227 const size_t kMaxAppModelIdLength = 64U; |
221 | 228 |
222 } // namespace installer | 229 } // namespace installer |
OLD | NEW |