OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 const char kNewSetupExe[] = "new-setup-exe"; | 99 const char kNewSetupExe[] = "new-setup-exe"; |
100 | 100 |
101 // Register Chrome as a valid browser on the current sytem. This option | 101 // Register Chrome as a valid browser on the current sytem. This option |
102 // requires that setup.exe is running as admin. If this option is specified, | 102 // requires that setup.exe is running as admin. If this option is specified, |
103 // options kInstallArchive and kUninstall are ignored. | 103 // options kInstallArchive and kUninstall are ignored. |
104 const char kRegisterChromeBrowser[] = "register-chrome-browser"; | 104 const char kRegisterChromeBrowser[] = "register-chrome-browser"; |
105 | 105 |
106 const char kRegisterChromeBrowserSuffix[] = | 106 const char kRegisterChromeBrowserSuffix[] = |
107 "register-chrome-browser-suffix"; | 107 "register-chrome-browser-suffix"; |
108 | 108 |
| 109 // Switch to allow an extra URL protocol to be registered. This option is used |
| 110 // in conjunction with kRegisterChromeBrowser to specify an extra protocol |
| 111 // in addition to the standard set of protocols. |
| 112 const char kRegisterURLProtocol[] = "register-url-protocol"; |
| 113 |
109 // Renames chrome.exe to old_chrome.exe and renames new_chrome.exe to chrome.exe | 114 // Renames chrome.exe to old_chrome.exe and renames new_chrome.exe to chrome.exe |
110 // to support in-use updates. Also deletes opv key. | 115 // to support in-use updates. Also deletes opv key. |
111 const char kRenameChromeExe[] = "rename-chrome-exe"; | 116 const char kRenameChromeExe[] = "rename-chrome-exe"; |
112 | 117 |
113 // Removes Chrome registration from current machine. Requires admin rights. | 118 // Removes Chrome registration from current machine. Requires admin rights. |
114 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; | 119 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; |
115 | 120 |
116 // When we try to relaunch setup.exe as admin on Vista, we append this command | 121 // When we try to relaunch setup.exe as admin on Vista, we append this command |
117 // line flag so that we try the launch only once. | 122 // line flag so that we try the launch only once. |
118 const char kRunAsAdmin[] = "run-as-admin"; | 123 const char kRunAsAdmin[] = "run-as-admin"; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 const wchar_t kInstallerError[] = L"InstallerError"; | 189 const wchar_t kInstallerError[] = L"InstallerError"; |
185 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; | 190 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; |
186 const wchar_t kInstallerSuccessLaunchCmdLine[] = | 191 const wchar_t kInstallerSuccessLaunchCmdLine[] = |
187 L"InstallerSuccessLaunchCmdLine"; | 192 L"InstallerSuccessLaunchCmdLine"; |
188 | 193 |
189 const wchar_t kOptionCeee[] = L"ceee"; | 194 const wchar_t kOptionCeee[] = L"ceee"; |
190 const wchar_t kOptionMultiInstall[] = L"multi-install"; | 195 const wchar_t kOptionMultiInstall[] = L"multi-install"; |
191 const wchar_t kOptionReadyMode[] = L"ready-mode"; | 196 const wchar_t kOptionReadyMode[] = L"ready-mode"; |
192 | 197 |
193 } // namespace installer | 198 } // namespace installer |
OLD | NEW |