| 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 // Defines all the command-line switches used with Google Update. | 5 // Defines all the command-line switches used with Google Update. |
| 6 | 6 |
| 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
| 8 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 8 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 namespace google_update { | 11 namespace google_update { |
| 12 | 12 |
| 13 // Strictly speaking Google Update doesn't care about this GUID but it is still | 13 // Strictly speaking Google Update doesn't care about this GUID but it is still |
| 14 // related to install as it is used by MSI to identify Gears. | 14 // related to install as it is used by MSI to identify Gears. |
| 15 extern const wchar_t kGearsUpgradeCode[]; | 15 extern const wchar_t kGearsUpgradeCode[]; |
| 16 | 16 |
| 17 // The GUID Google Update uses to keep track of Chrome upgrades. | 17 // The GUID Google Update uses to keep track of Chrome upgrades. |
| 18 extern const wchar_t kChromeUpgradeCode[]; | 18 extern const wchar_t kChromeUpgradeCode[]; |
| 19 | 19 |
| 20 extern const wchar_t kRegPathClients[]; | 20 extern const wchar_t kRegPathClients[]; |
| 21 | 21 |
| 22 // The difference between ClientState and ClientStateMedium is that the former | 22 // The difference between ClientState and ClientStateMedium is that the former |
| 23 // lives on HKCU or HKLM and the later always lives in HKLM. The only use of | 23 // lives on HKCU or HKLM and the later always lives in HKLM. The only use of |
| 24 // the ClientStateMedium is for the EULA consent. See bug 1594565. | 24 // the ClientStateMedium is for the EULA consent. See bug 1594565. |
| 25 extern const wchar_t kRegPathClientState[]; | 25 extern const wchar_t kRegPathClientState[]; |
| 26 extern const wchar_t kRegPathClientStateMedium[]; | 26 extern const wchar_t kRegPathClientStateMedium[]; |
| 27 | 27 |
| 28 // The name of the "Commands" key that lives in an app's Clients key |
| 29 // (a.k.a. "Version" key). |
| 30 extern const wchar_t kRegCommandsKey[]; |
| 31 |
| 28 extern const wchar_t kRegApField[]; | 32 extern const wchar_t kRegApField[]; |
| 29 extern const wchar_t kRegBrowserField[]; | 33 extern const wchar_t kRegBrowserField[]; |
| 34 extern const wchar_t kRegCFEndTempOptOutCmdField[]; |
| 35 extern const wchar_t kRegCFOptInCmdField[]; |
| 36 extern const wchar_t kRegCFOptOutCmdField[]; |
| 37 extern const wchar_t kRegCFTempOptOutCmdField[]; |
| 30 extern const wchar_t kRegClientField[]; | 38 extern const wchar_t kRegClientField[]; |
| 39 extern const wchar_t kRegCommandLineField[]; |
| 31 extern const wchar_t kRegDidRunField[]; | 40 extern const wchar_t kRegDidRunField[]; |
| 41 extern const wchar_t kRegEULAAceptedField[]; |
| 32 extern const wchar_t kRegLangField[]; | 42 extern const wchar_t kRegLangField[]; |
| 33 extern const wchar_t kRegLastCheckedField[]; | 43 extern const wchar_t kRegLastCheckedField[]; |
| 34 extern const wchar_t kRegMetricsId[]; | 44 extern const wchar_t kRegMetricsId[]; |
| 35 extern const wchar_t kRegMSIField[]; | 45 extern const wchar_t kRegMSIField[]; |
| 36 extern const wchar_t kRegNameField[]; | 46 extern const wchar_t kRegNameField[]; |
| 47 extern const wchar_t kRegOldVersionField[]; |
| 37 extern const wchar_t kRegOopcrashesField[]; | 48 extern const wchar_t kRegOopcrashesField[]; |
| 38 extern const wchar_t kRegOldVersionField[]; | 49 extern const wchar_t kRegRLZBrandField[]; |
| 50 extern const wchar_t kRegReferralField[]; |
| 39 extern const wchar_t kRegRenameCmdField[]; | 51 extern const wchar_t kRegRenameCmdField[]; |
| 40 extern const wchar_t kRegRLZBrandField[]; | 52 extern const wchar_t kRegSendsPingsField[]; |
| 41 extern const wchar_t kRegUsageStatsField[]; | 53 extern const wchar_t kRegUsageStatsField[]; |
| 42 extern const wchar_t kRegVersionField[]; | 54 extern const wchar_t kRegVersionField[]; |
| 43 extern const wchar_t kRegReferralField[]; | 55 extern const wchar_t kRegWebAccessibleField[]; |
| 44 extern const wchar_t kRegEULAAceptedField[]; | |
| 45 extern const wchar_t kRegCFTempOptOutCmdField[]; | |
| 46 extern const wchar_t kRegCFEndTempOptOutCmdField[]; | |
| 47 extern const wchar_t kRegCFOptOutCmdField[]; | |
| 48 extern const wchar_t kRegCFOptInCmdField[]; | |
| 49 | 56 |
| 50 // last time that chrome ran in the Time internal format. | 57 // last time that chrome ran in the Time internal format. |
| 51 extern const wchar_t kRegLastRunTimeField[]; | 58 extern const wchar_t kRegLastRunTimeField[]; |
| 52 | 59 |
| 53 } // namespace google_update | 60 } // namespace google_update |
| 54 | 61 |
| 55 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 62 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
| OLD | NEW |