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 // Install Chrome. | 11 // Install Chrome. |
12 // Currently this is only required when used in combination with kMultiInstall. | 12 // Currently this is only required when used in combination with kMultiInstall. |
13 const char kChrome[] = "chrome"; | 13 const char kChrome[] = "chrome"; |
14 | 14 |
15 // Install Chrome Frame. | |
16 const char kChromeFrame[] = "chrome-frame"; | |
17 | |
18 // Run the installer for Chrome SxS. | 15 // Run the installer for Chrome SxS. |
19 const char kChromeSxS[] = "chrome-sxs"; | 16 const char kChromeSxS[] = "chrome-sxs"; |
20 | 17 |
21 // Create shortcuts for this user to point to a system-level install (which | 18 // Create shortcuts for this user to point to a system-level install (which |
22 // must already be installed on the machine). The shortcuts created will | 19 // must already be installed on the machine). The shortcuts created will |
23 // match the preferences of the already present system-level install as such | 20 // match the preferences of the already present system-level install as such |
24 // this option is not compatible with any other installer options. | 21 // this option is not compatible with any other installer options. |
25 const char kConfigureUserSettings[] = "configure-user-settings"; | 22 const char kConfigureUserSettings[] = "configure-user-settings"; |
26 | 23 |
27 // The version number of an update containing critical fixes, for which an | 24 // The version number of an update containing critical fixes, for which an |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // for non-admin users when setup.exe is launched. This is mitigated by adding | 199 // for non-admin users when setup.exe is launched. This is mitigated by adding |
203 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but | 200 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but |
204 // there is no such manifest entry on Windows XP (which results in | 201 // there is no such manifest entry on Windows XP (which results in |
205 // crbug.com/166473). | 202 // crbug.com/166473). |
206 // TODO(gab): Rename setup.exe itself altogether and use the same binary for | 203 // TODO(gab): Rename setup.exe itself altogether and use the same binary for |
207 // Active Setup. | 204 // Active Setup. |
208 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; | 205 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; |
209 const wchar_t kChromeDll[] = L"chrome.dll"; | 206 const wchar_t kChromeDll[] = L"chrome.dll"; |
210 const wchar_t kChromeChildDll[] = L"chrome_child.dll"; | 207 const wchar_t kChromeChildDll[] = L"chrome_child.dll"; |
211 const wchar_t kChromeExe[] = L"chrome.exe"; | 208 const wchar_t kChromeExe[] = L"chrome.exe"; |
212 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | |
213 const wchar_t kChromeFrameHelperDll[] = L"chrome_frame_helper.dll"; | |
214 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | |
215 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | |
216 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | |
217 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 209 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
218 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 210 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
219 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; | 211 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; |
220 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; | |
221 const wchar_t kEULASentinelFile[] = L"EULA Accepted"; | 212 const wchar_t kEULASentinelFile[] = L"EULA Accepted"; |
222 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; | 213 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; |
223 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; | 214 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; |
224 const wchar_t kInstallBinaryDir[] = L"Application"; | 215 const wchar_t kInstallBinaryDir[] = L"Application"; |
225 const wchar_t kInstallerDir[] = L"Installer"; | 216 const wchar_t kInstallerDir[] = L"Installer"; |
226 const wchar_t kInstallTempDir[] = L"Temp"; | 217 const wchar_t kInstallTempDir[] = L"Temp"; |
227 const wchar_t kLnkExt[] = L".lnk"; | 218 const wchar_t kLnkExt[] = L".lnk"; |
228 const wchar_t kNaClExe[] = L"nacl64.exe"; | 219 const wchar_t kNaClExe[] = L"nacl64.exe"; |
229 const wchar_t kSetupExe[] = L"setup.exe"; | 220 const wchar_t kSetupExe[] = L"setup.exe"; |
230 const wchar_t kSxSSuffix[] = L" SxS"; | 221 const wchar_t kSxSSuffix[] = L" SxS"; |
(...skipping 20 matching lines...) Expand all Loading... |
251 const wchar_t kChromeChannelStableExplicit[] = L"stable"; | 242 const wchar_t kChromeChannelStableExplicit[] = L"stable"; |
252 | 243 |
253 const size_t kMaxAppModelIdLength = 64U; | 244 const size_t kMaxAppModelIdLength = 64U; |
254 | 245 |
255 const char kCourgette[] = "courgette"; | 246 const char kCourgette[] = "courgette"; |
256 const char kBsdiff[] = "bsdiff"; | 247 const char kBsdiff[] = "bsdiff"; |
257 | 248 |
258 const char kSetupHistogramAllocatorName[] = "SetupMetrics"; | 249 const char kSetupHistogramAllocatorName[] = "SetupMetrics"; |
259 | 250 |
260 } // namespace installer | 251 } // namespace installer |
OLD | NEW |