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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 const char kMsi[] = "msi"; | 102 const char kMsi[] = "msi"; |
103 | 103 |
104 // Tells installer to install multiple products specified on the command line. | 104 // Tells installer to install multiple products specified on the command line. |
105 // (e.g. Chrome Frame, Chrome) | 105 // (e.g. Chrome Frame, Chrome) |
106 const char kMultiInstall[] = "multi-install"; | 106 const char kMultiInstall[] = "multi-install"; |
107 | 107 |
108 // Useful only when used with --update-setup-exe, otherwise ignored. It | 108 // Useful only when used with --update-setup-exe, otherwise ignored. It |
109 // specifies the full path where updated setup.exe will be stored. | 109 // specifies the full path where updated setup.exe will be stored. |
110 const char kNewSetupExe[] = "new-setup-exe"; | 110 const char kNewSetupExe[] = "new-setup-exe"; |
111 | 111 |
| 112 // Perform updates after the OS has been upgraded. |
| 113 const char kOnOsUpgrade[] = "on-os-upgrade"; |
| 114 |
112 // Register Chrome as a valid browser on the current sytem. This option | 115 // Register Chrome as a valid browser on the current sytem. This option |
113 // requires that setup.exe is running as admin. If this option is specified, | 116 // requires that setup.exe is running as admin. If this option is specified, |
114 // options kInstallArchive and kUninstall are ignored. | 117 // options kInstallArchive and kUninstall are ignored. |
115 const char kRegisterChromeBrowser[] = "register-chrome-browser"; | 118 const char kRegisterChromeBrowser[] = "register-chrome-browser"; |
116 | 119 |
117 // Used by the installer to forward the registration suffix of the | 120 // Used by the installer to forward the registration suffix of the |
118 // (un)installation in progress when launching an elevated setup.exe to finish | 121 // (un)installation in progress when launching an elevated setup.exe to finish |
119 // registration work. | 122 // registration work. |
120 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; | 123 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; |
121 | 124 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 const wchar_t kChromeDll[] = L"chrome.dll"; | 177 const wchar_t kChromeDll[] = L"chrome.dll"; |
175 const wchar_t kChromeExe[] = L"chrome.exe"; | 178 const wchar_t kChromeExe[] = L"chrome.exe"; |
176 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | 179 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; |
177 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | 180 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; |
178 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | 181 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; |
179 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | 182 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; |
180 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 183 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
181 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 184 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
182 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 185 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
183 const wchar_t kCmdInstallApp[] = L"install-application"; | 186 const wchar_t kCmdInstallApp[] = L"install-application"; |
| 187 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; |
184 const wchar_t kCmdQuickEnableApplicationHost[] = | 188 const wchar_t kCmdQuickEnableApplicationHost[] = |
185 L"quick-enable-application-host"; | 189 L"quick-enable-application-host"; |
186 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; | 190 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; |
187 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; | 191 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; |
188 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; | 192 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; |
189 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; | 193 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; |
190 const wchar_t kInstallBinaryDir[] = L"Application"; | 194 const wchar_t kInstallBinaryDir[] = L"Application"; |
191 const wchar_t kInstallerDir[] = L"Installer"; | 195 const wchar_t kInstallerDir[] = L"Installer"; |
192 const wchar_t kInstallTempDir[] = L"Temp"; | 196 const wchar_t kInstallTempDir[] = L"Temp"; |
193 const wchar_t kInstallUserDataDir[] = L"User Data"; | 197 const wchar_t kInstallUserDataDir[] = L"User Data"; |
(...skipping 26 matching lines...) Expand all Loading... |
220 // Chrome channel display names. | 224 // Chrome channel display names. |
221 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 225 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
222 const wchar_t kChromeChannelCanary[] = L"canary"; | 226 const wchar_t kChromeChannelCanary[] = L"canary"; |
223 const wchar_t kChromeChannelDev[] = L"dev"; | 227 const wchar_t kChromeChannelDev[] = L"dev"; |
224 const wchar_t kChromeChannelBeta[] = L"beta"; | 228 const wchar_t kChromeChannelBeta[] = L"beta"; |
225 const wchar_t kChromeChannelStable[] = L""; | 229 const wchar_t kChromeChannelStable[] = L""; |
226 | 230 |
227 const size_t kMaxAppModelIdLength = 64U; | 231 const size_t kMaxAppModelIdLength = 64U; |
228 | 232 |
229 } // namespace installer | 233 } // namespace installer |
OLD | NEW |