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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 // that setup.exe will apply to itself and store the resulting binary in the | 148 // that setup.exe will apply to itself and store the resulting binary in the |
149 // path given by --new-setup-exe. | 149 // path given by --new-setup-exe. |
150 const char kUpdateSetupExe[] = "update-setup-exe"; | 150 const char kUpdateSetupExe[] = "update-setup-exe"; |
151 | 151 |
152 // Enable verbose logging (info level). | 152 // Enable verbose logging (info level). |
153 const char kVerboseLogging[] = "verbose-logging"; | 153 const char kVerboseLogging[] = "verbose-logging"; |
154 | 154 |
155 // Show the embedded EULA dialog. | 155 // Show the embedded EULA dialog. |
156 const char kShowEula[] = "show-eula"; | 156 const char kShowEula[] = "show-eula"; |
157 | 157 |
| 158 // Show the embedded EULA dialog, relaunch metro Chrome on acceptance. |
| 159 const char kShowEulaForMetro[] = "show-eula-for-metro"; |
| 160 |
158 // Use the alternate desktop shortcut name. | 161 // Use the alternate desktop shortcut name. |
159 const char kAltDesktopShortcut[] = "alt-desktop-shortcut"; | 162 const char kAltDesktopShortcut[] = "alt-desktop-shortcut"; |
160 | 163 |
161 // Perform the inactive user toast experiment. | 164 // Perform the inactive user toast experiment. |
162 const char kInactiveUserToast[] = "inactive-user-toast"; | 165 const char kInactiveUserToast[] = "inactive-user-toast"; |
163 | 166 |
164 // User toast experiment switch from system context to user context. | 167 // User toast experiment switch from system context to user context. |
165 const char kSystemLevelToast[] = "system-level-toast"; | 168 const char kSystemLevelToast[] = "system-level-toast"; |
166 | 169 |
167 // The group this experiment belongs to. | 170 // The group this experiment belongs to. |
(...skipping 14 matching lines...) Expand all Loading... |
182 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | 185 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; |
183 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 186 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
184 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 187 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
185 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 188 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
186 const wchar_t kCmdInstallApp[] = L"install-application"; | 189 const wchar_t kCmdInstallApp[] = L"install-application"; |
187 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; | 190 const wchar_t kCmdOnOsUpgrade[] = L"on-os-upgrade"; |
188 const wchar_t kCmdQuickEnableApplicationHost[] = | 191 const wchar_t kCmdQuickEnableApplicationHost[] = |
189 L"quick-enable-application-host"; | 192 L"quick-enable-application-host"; |
190 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; | 193 const wchar_t kCmdQuickEnableCf[] = L"quick-enable-cf"; |
191 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; | 194 const wchar_t kDelegateExecuteExe[] = L"delegate_execute.exe"; |
| 195 const char kEULASentinelFile[] = "EULA Accepted"; |
192 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; | 196 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; |
193 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; | 197 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; |
194 const wchar_t kInstallBinaryDir[] = L"Application"; | 198 const wchar_t kInstallBinaryDir[] = L"Application"; |
195 const wchar_t kInstallerDir[] = L"Installer"; | 199 const wchar_t kInstallerDir[] = L"Installer"; |
196 const wchar_t kInstallTempDir[] = L"Temp"; | 200 const wchar_t kInstallTempDir[] = L"Temp"; |
197 const wchar_t kInstallUserDataDir[] = L"User Data"; | 201 const wchar_t kInstallUserDataDir[] = L"User Data"; |
198 const wchar_t kNaClExe[] = L"nacl64.exe"; | 202 const wchar_t kNaClExe[] = L"nacl64.exe"; |
199 const wchar_t kSetupExe[] = L"setup.exe"; | 203 const wchar_t kSetupExe[] = L"setup.exe"; |
200 const wchar_t kSxSSuffix[] = L" SxS"; | 204 const wchar_t kSxSSuffix[] = L" SxS"; |
201 const wchar_t kUninstallStringField[] = L"UninstallString"; | 205 const wchar_t kUninstallStringField[] = L"UninstallString"; |
(...skipping 19 matching lines...) Expand all Loading... |
221 // Chrome channel display names. | 225 // Chrome channel display names. |
222 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 226 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
223 const wchar_t kChromeChannelCanary[] = L"canary"; | 227 const wchar_t kChromeChannelCanary[] = L"canary"; |
224 const wchar_t kChromeChannelDev[] = L"dev"; | 228 const wchar_t kChromeChannelDev[] = L"dev"; |
225 const wchar_t kChromeChannelBeta[] = L"beta"; | 229 const wchar_t kChromeChannelBeta[] = L"beta"; |
226 const wchar_t kChromeChannelStable[] = L""; | 230 const wchar_t kChromeChannelStable[] = L""; |
227 | 231 |
228 const size_t kMaxAppModelIdLength = 64U; | 232 const size_t kMaxAppModelIdLength = 64U; |
229 | 233 |
230 } // namespace installer | 234 } // namespace installer |
OLD | NEW |