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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 // Useful only when used with --update-setup-exe, otherwise ignored. It | 101 // Useful only when used with --update-setup-exe, otherwise ignored. It |
102 // specifies the full path where updated setup.exe will be stored. | 102 // specifies the full path where updated setup.exe will be stored. |
103 const char kNewSetupExe[] = "new-setup-exe"; | 103 const char kNewSetupExe[] = "new-setup-exe"; |
104 | 104 |
105 // Register Chrome as a valid browser on the current sytem. This option | 105 // Register Chrome as a valid browser on the current sytem. This option |
106 // requires that setup.exe is running as admin. If this option is specified, | 106 // requires that setup.exe is running as admin. If this option is specified, |
107 // options kInstallArchive and kUninstall are ignored. | 107 // options kInstallArchive and kUninstall are ignored. |
108 const char kRegisterChromeBrowser[] = "register-chrome-browser"; | 108 const char kRegisterChromeBrowser[] = "register-chrome-browser"; |
109 | 109 |
110 const char kRegisterChromeBrowserSuffix[] = | 110 // Used by the installer to forward the registration suffix of the |
111 "register-chrome-browser-suffix"; | 111 // (un)installation in progress when launching an elevated setup.exe to finish |
| 112 // registration work. |
| 113 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; |
112 | 114 |
113 // Switch to allow an extra URL protocol to be registered. This option is used | 115 // Switch to allow an extra URL protocol to be registered. This option is used |
114 // in conjunction with kRegisterChromeBrowser to specify an extra protocol | 116 // in conjunction with kRegisterChromeBrowser to specify an extra protocol |
115 // in addition to the standard set of protocols. | 117 // in addition to the standard set of protocols. |
116 const char kRegisterURLProtocol[] = "register-url-protocol"; | 118 const char kRegisterURLProtocol[] = "register-url-protocol"; |
117 | 119 |
118 // Renames chrome.exe to old_chrome.exe and renames new_chrome.exe to chrome.exe | 120 // Renames chrome.exe to old_chrome.exe and renames new_chrome.exe to chrome.exe |
119 // to support in-use updates. Also deletes opv key. | 121 // to support in-use updates. Also deletes opv key. |
120 const char kRenameChromeExe[] = "rename-chrome-exe"; | 122 const char kRenameChromeExe[] = "rename-chrome-exe"; |
121 | 123 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 const wchar_t kOptionReadyMode[] = L"ready-mode"; | 207 const wchar_t kOptionReadyMode[] = L"ready-mode"; |
206 | 208 |
207 // Chrome channel display names. | 209 // Chrome channel display names. |
208 const wchar_t kChromeChannelUnknown[] = L"unknown"; | 210 const wchar_t kChromeChannelUnknown[] = L"unknown"; |
209 const wchar_t kChromeChannelCanary[] = L"canary"; | 211 const wchar_t kChromeChannelCanary[] = L"canary"; |
210 const wchar_t kChromeChannelDev[] = L"dev"; | 212 const wchar_t kChromeChannelDev[] = L"dev"; |
211 const wchar_t kChromeChannelBeta[] = L"beta"; | 213 const wchar_t kChromeChannelBeta[] = L"beta"; |
212 const wchar_t kChromeChannelStable[] = L""; | 214 const wchar_t kChromeChannelStable[] = L""; |
213 | 215 |
214 } // namespace installer | 216 } // namespace installer |
OLD | NEW |