| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // (e.g. Chrome Frame, Chrome) | 115 // (e.g. Chrome Frame, Chrome) |
| 116 const char kMultiInstall[] = "multi-install"; | 116 const char kMultiInstall[] = "multi-install"; |
| 117 | 117 |
| 118 // Useful only when used with --update-setup-exe, otherwise ignored. It | 118 // Useful only when used with --update-setup-exe, otherwise ignored. It |
| 119 // specifies the full path where updated setup.exe will be stored. | 119 // specifies the full path where updated setup.exe will be stored. |
| 120 const char kNewSetupExe[] = "new-setup-exe"; | 120 const char kNewSetupExe[] = "new-setup-exe"; |
| 121 | 121 |
| 122 // Notify the installer that the OS has been upgraded. | 122 // Notify the installer that the OS has been upgraded. |
| 123 const char kOnOsUpgrade[] = "on-os-upgrade"; | 123 const char kOnOsUpgrade[] = "on-os-upgrade"; |
| 124 | 124 |
| 125 // Determines whether or not EULA has been accepted at some point. Returns via |
| 126 // exit code: 0 if EULA not accepted, 1 if EULA accepted, and E_FAIL on error. |
| 127 const char kQueryEULAAcceptance[] = "query-eula-acceptance"; |
| 128 |
| 125 // Register Chrome as a valid browser on the current sytem. This option | 129 // Register Chrome as a valid browser on the current sytem. This option |
| 126 // requires that setup.exe is running as admin. If this option is specified, | 130 // requires that setup.exe is running as admin. If this option is specified, |
| 127 // options kInstallArchive and kUninstall are ignored. | 131 // options kInstallArchive and kUninstall are ignored. |
| 128 const char kRegisterChromeBrowser[] = "register-chrome-browser"; | 132 const char kRegisterChromeBrowser[] = "register-chrome-browser"; |
| 129 | 133 |
| 130 // Used by the installer to forward the registration suffix of the | 134 // Used by the installer to forward the registration suffix of the |
| 131 // (un)installation in progress when launching an elevated setup.exe to finish | 135 // (un)installation in progress when launching an elevated setup.exe to finish |
| 132 // registration work. | 136 // registration work. |
| 133 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; | 137 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; |
| 134 | 138 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 const wchar_t kChromeExe[] = L"chrome.exe"; | 212 const wchar_t kChromeExe[] = L"chrome.exe"; |
| 209 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | 213 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; |
| 210 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | 214 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; |
| 211 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | 215 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; |
| 212 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | 216 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; |
| 213 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 217 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
| 214 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 218 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
| 215 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 219 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
| 216 const wchar_t kCmdInstallApp[] = L"install-application"; | 220 const wchar_t kCmdInstallApp[] = L"install-application"; |
| 217 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; | 221 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; |
| 222 const wchar_t kCmdQueryEULAAcceptance[] = L"query-eula-acceptance"; |
| 218 const wchar_t kCmdQuickEnableApplicationHost[] = | 223 const wchar_t kCmdQuickEnableApplicationHost[] = |
| 219 L"quick-enable-application-host"; | 224 L"quick-enable-application-host"; |
| 220 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; | 225 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; |
| 221 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; | 226 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; |
| 222 const wchar_t kEULASentinelFile[] = L"EULA Accepted"; | 227 const wchar_t kEULASentinelFile[] = L"EULA Accepted"; |
| 223 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; | 228 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; |
| 224 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; | 229 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; |
| 225 const wchar_t kInstallBinaryDir[] = L"Application"; | 230 const wchar_t kInstallBinaryDir[] = L"Application"; |
| 226 const wchar_t kInstallerDir[] = L"Installer"; | 231 const wchar_t kInstallerDir[] = L"Installer"; |
| 227 const wchar_t kInstallTempDir[] = L"Temp"; | 232 const wchar_t kInstallTempDir[] = L"Temp"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 254 // Chrome channel display names. | 259 // Chrome channel display names. |
| 255 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 260 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
| 256 const wchar_t kChromeChannelCanary[] = L"canary"; | 261 const wchar_t kChromeChannelCanary[] = L"canary"; |
| 257 const wchar_t kChromeChannelDev[] = L"dev"; | 262 const wchar_t kChromeChannelDev[] = L"dev"; |
| 258 const wchar_t kChromeChannelBeta[] = L"beta"; | 263 const wchar_t kChromeChannelBeta[] = L"beta"; |
| 259 const wchar_t kChromeChannelStable[] = L""; | 264 const wchar_t kChromeChannelStable[] = L""; |
| 260 | 265 |
| 261 const size_t kMaxAppModelIdLength = 64U; | 266 const size_t kMaxAppModelIdLength = 64U; |
| 262 | 267 |
| 263 } // namespace installer | 268 } // namespace installer |
| OLD | NEW |