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 extern const wchar_t kRegApField[]; | 28 extern const wchar_t kRegApField[]; |
29 extern const wchar_t kRegBrowserField[]; | 29 extern const wchar_t kRegBrowserField[]; |
| 30 extern const wchar_t kRegCFEndTempOptOutCmdField[]; |
| 31 extern const wchar_t kRegCFOptInCmdField[]; |
| 32 extern const wchar_t kRegCFOptOutCmdField[]; |
| 33 extern const wchar_t kRegCFTempOptOutCmdField[]; |
30 extern const wchar_t kRegClientField[]; | 34 extern const wchar_t kRegClientField[]; |
| 35 extern const wchar_t kRegCommandLineField[]; |
31 extern const wchar_t kRegDidRunField[]; | 36 extern const wchar_t kRegDidRunField[]; |
| 37 extern const wchar_t kRegEULAAceptedField[]; |
32 extern const wchar_t kRegLangField[]; | 38 extern const wchar_t kRegLangField[]; |
33 extern const wchar_t kRegLastCheckedField[]; | 39 extern const wchar_t kRegLastCheckedField[]; |
| 40 extern const wchar_t kRegMSIField[]; |
34 extern const wchar_t kRegMetricsId[]; | 41 extern const wchar_t kRegMetricsId[]; |
35 extern const wchar_t kRegMSIField[]; | |
36 extern const wchar_t kRegNameField[]; | 42 extern const wchar_t kRegNameField[]; |
| 43 extern const wchar_t kRegOldVersionField[]; |
37 extern const wchar_t kRegOopcrashesField[]; | 44 extern const wchar_t kRegOopcrashesField[]; |
38 extern const wchar_t kRegOldVersionField[]; | 45 extern const wchar_t kRegRLZBrandField[]; |
| 46 extern const wchar_t kRegReferralField[]; |
39 extern const wchar_t kRegRenameCmdField[]; | 47 extern const wchar_t kRegRenameCmdField[]; |
40 extern const wchar_t kRegRLZBrandField[]; | 48 extern const wchar_t kRegSendsPingsField[]; |
41 extern const wchar_t kRegUsageStatsField[]; | 49 extern const wchar_t kRegUsageStatsField[]; |
42 extern const wchar_t kRegVersionField[]; | 50 extern const wchar_t kRegVersionField[]; |
43 extern const wchar_t kRegReferralField[]; | 51 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 | 52 |
50 // last time that chrome ran in the Time internal format. | 53 // last time that chrome ran in the Time internal format. |
51 extern const wchar_t kRegLastRunTimeField[]; | 54 extern const wchar_t kRegLastRunTimeField[]; |
52 | 55 |
53 } // namespace google_update | 56 } // namespace google_update |
54 | 57 |
55 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 58 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
OLD | NEW |