| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // The Active Setup executable will be an identical copy of setup.exe; this is | 201 // The Active Setup executable will be an identical copy of setup.exe; this is |
| 202 // necessary because Windows' installer detection heuristics (which include | 202 // necessary because Windows' installer detection heuristics (which include |
| 203 // things like process name being "setup.exe") will otherwise force elevation | 203 // things like process name being "setup.exe") will otherwise force elevation |
| 204 // for non-admin users when setup.exe is launched. This is mitigated by adding | 204 // for non-admin users when setup.exe is launched. This is mitigated by adding |
| 205 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but | 205 // requestedExecutionLevel="asInvoker" to setup.exe's manifest on Vista+, but |
| 206 // there is no such manifest entry on Windows XP (which results in | 206 // there is no such manifest entry on Windows XP (which results in |
| 207 // crbug.com/166473). | 207 // crbug.com/166473). |
| 208 // TODO(gab): Rename setup.exe itself altogether and use the same binary for | 208 // TODO(gab): Rename setup.exe itself altogether and use the same binary for |
| 209 // Active Setup. | 209 // Active Setup. |
| 210 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; | 210 const wchar_t kActiveSetupExe[] = L"chrmstp.exe"; |
| 211 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; | 211 const wchar_t kChromeAppHostExe[] = L"app_host.exe"; // Legacy. |
| 212 const wchar_t kChromeDll[] = L"chrome.dll"; | 212 const wchar_t kChromeDll[] = L"chrome.dll"; |
| 213 const wchar_t kChromeExe[] = L"chrome.exe"; | 213 const wchar_t kChromeExe[] = L"chrome.exe"; |
| 214 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; | 214 const wchar_t kChromeFrameDll[] = L"npchrome_frame.dll"; |
| 215 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; | 215 const wchar_t kChromeFrameHelperExe[] = L"chrome_frame_helper.exe"; |
| 216 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; | 216 const wchar_t kChromeFrameHelperWndClass[] = L"ChromeFrameHelperWindowClass"; |
| 217 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; | 217 const wchar_t kChromeFrameReadyModeField[] = L"ChromeFrameReadyMode"; |
| 218 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; | 218 const wchar_t kChromeLauncherExe[] = L"chrome_launcher.exe"; |
| 219 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 219 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
| 220 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; | 220 const wchar_t kChromeOldExe[] = L"old_chrome.exe"; |
| 221 const wchar_t kCmdInstallApp[] = L"install-application"; | 221 const wchar_t kCmdInstallApp[] = L"install-application"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // Chrome channel display names. | 255 // Chrome channel display names. |
| 256 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 256 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
| 257 const wchar_t kChromeChannelCanary[] = L"canary"; | 257 const wchar_t kChromeChannelCanary[] = L"canary"; |
| 258 const wchar_t kChromeChannelDev[] = L"dev"; | 258 const wchar_t kChromeChannelDev[] = L"dev"; |
| 259 const wchar_t kChromeChannelBeta[] = L"beta"; | 259 const wchar_t kChromeChannelBeta[] = L"beta"; |
| 260 const wchar_t kChromeChannelStable[] = L""; | 260 const wchar_t kChromeChannelStable[] = L""; |
| 261 | 261 |
| 262 const size_t kMaxAppModelIdLength = 64U; | 262 const size_t kMaxAppModelIdLength = 64U; |
| 263 | 263 |
| 264 } // namespace installer | 264 } // namespace installer |
| OLD | NEW |