| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 186 |
| 187 // The group this experiment belongs to. | 187 // The group this experiment belongs to. |
| 188 const char kExperimentGroup[] = "experiment-group"; | 188 const char kExperimentGroup[] = "experiment-group"; |
| 189 | 189 |
| 190 // A handle value of the key to write the results of the toast experiment | 190 // A handle value of the key to write the results of the toast experiment |
| 191 // to. See DuplicateGoogleUpdateSystemClientKey for details. | 191 // to. See DuplicateGoogleUpdateSystemClientKey for details. |
| 192 const char kToastResultsKey[] = "toast-results-key"; | 192 const char kToastResultsKey[] = "toast-results-key"; |
| 193 | 193 |
| 194 } // namespace switches | 194 } // namespace switches |
| 195 | 195 |
| 196 // The Active Setup executable will be an identical copy of setup.exe; this is |
| 197 // necessary because Windows' installer detection heuristics (which include |
| 198 // things like process name being "setup.exe") will otherwise force elevation |
| 199 // for non-admin users when setup.exe is launched. This is mitigated by adding |
| 200 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but |
| 201 // there is no such manifest entry on Windows XP (which results in |
| 202 // crbug.com/166473). |
| 203 // TODO(gab): Rename setup.exe itself altogether and use the same binary for |
| 204 // Active Setup. |
| 205 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; |
| 196 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; | 206 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; |
| 197 const wchar_t kChromeDll[] = L"chrome.dll"; | 207 const wchar_t kChromeDll[] = L"chrome.dll"; |
| 198 const wchar_t kChromeExe[] = L"chrome.exe"; | 208 const wchar_t kChromeExe[] = L"chrome.exe"; |
| 199 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | 209 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; |
| 200 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | 210 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; |
| 201 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | 211 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; |
| 202 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | 212 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; |
| 203 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 213 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
| 204 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 214 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
| 205 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 215 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 // Chrome channel display names. | 254 // Chrome channel display names. |
| 245 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 255 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
| 246 const wchar_t kChromeChannelCanary[] = L"canary"; | 256 const wchar_t kChromeChannelCanary[] = L"canary"; |
| 247 const wchar_t kChromeChannelDev[] = L"dev"; | 257 const wchar_t kChromeChannelDev[] = L"dev"; |
| 248 const wchar_t kChromeChannelBeta[] = L"beta"; | 258 const wchar_t kChromeChannelBeta[] = L"beta"; |
| 249 const wchar_t kChromeChannelStable[] = L""; | 259 const wchar_t kChromeChannelStable[] = L""; |
| 250 | 260 |
| 251 const size_t kMaxAppModelIdLength = 64U; | 261 const size_t kMaxAppModelIdLength = 64U; |
| 252 | 262 |
| 253 } // namespace installer | 263 } // namespace installer |
| OLD | NEW |