| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // specifies the full path where updated setup.exe will be stored. | 105 // specifies the full path where updated setup.exe will be stored. |
| 106 const char kNewSetupExe[] = "new-setup-exe"; | 106 const char kNewSetupExe[] = "new-setup-exe"; |
| 107 | 107 |
| 108 // Notify the installer that the OS has been upgraded. | 108 // Notify the installer that the OS has been upgraded. |
| 109 const char kOnOsUpgrade[] = "on-os-upgrade"; | 109 const char kOnOsUpgrade[] = "on-os-upgrade"; |
| 110 | 110 |
| 111 // Determines whether or not EULA has been accepted at some point. Returns via | 111 // Determines whether or not EULA has been accepted at some point. Returns via |
| 112 // exit code: 0 if EULA not accepted, 1 if EULA accepted, and E_FAIL on error. | 112 // exit code: 0 if EULA not accepted, 1 if EULA accepted, and E_FAIL on error. |
| 113 const char kQueryEULAAcceptance[] = "query-eula-acceptance"; | 113 const char kQueryEULAAcceptance[] = "query-eula-acceptance"; |
| 114 | 114 |
| 115 // Register Chrome as a valid browser on the current sytem. This option | 115 // Requests that setup attempt to reenable autoupdates for Chrome. |
| 116 const char kReenableAutoupdates[] = "reenable-autoupdates"; |
| 117 |
| 118 // Register Chrome as a valid browser on the current system. This option |
| 116 // requires that setup.exe is running as admin. If this option is specified, | 119 // requires that setup.exe is running as admin. If this option is specified, |
| 117 // options kInstallArchive and kUninstall are ignored. | 120 // options kInstallArchive and kUninstall are ignored. |
| 118 const char kRegisterChromeBrowser[] = "register-chrome-browser"; | 121 const char kRegisterChromeBrowser[] = "register-chrome-browser"; |
| 119 | 122 |
| 120 // Used by the installer to forward the registration suffix of the | 123 // Used by the installer to forward the registration suffix of the |
| 121 // (un)installation in progress when launching an elevated setup.exe to finish | 124 // (un)installation in progress when launching an elevated setup.exe to finish |
| 122 // registration work. | 125 // registration work. |
| 123 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; | 126 const char kRegisterChromeBrowserSuffix[] = "register-chrome-browser-suffix"; |
| 124 | 127 |
| 125 // Specify the path to the dev build of chrome.exe the user wants to install | 128 // Specify the path to the dev build of chrome.exe the user wants to install |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 const wchar_t kChromeChannelDev[] = L"dev"; | 263 const wchar_t kChromeChannelDev[] = L"dev"; |
| 261 const wchar_t kChromeChannelBeta[] = L"beta"; | 264 const wchar_t kChromeChannelBeta[] = L"beta"; |
| 262 const wchar_t kChromeChannelStable[] = L""; | 265 const wchar_t kChromeChannelStable[] = L""; |
| 263 | 266 |
| 264 const size_t kMaxAppModelIdLength = 64U; | 267 const size_t kMaxAppModelIdLength = 64U; |
| 265 | 268 |
| 266 const char kCourgette[] = "courgette"; | 269 const char kCourgette[] = "courgette"; |
| 267 const char kBsdiff[] = "bsdiff"; | 270 const char kBsdiff[] = "bsdiff"; |
| 268 | 271 |
| 269 } // namespace installer | 272 } // namespace installer |
| OLD | NEW |