OLD | NEW |
1 // Copyright (c) 2011 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 // 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 // The GUID Google Update uses to keep track of Chrome upgrades. | 13 // The GUID Google Update uses to keep track of Chrome upgrades. |
14 extern const wchar_t kChromeUpgradeCode[]; | 14 extern const wchar_t kChromeUpgradeCode[]; |
15 | 15 |
16 extern const wchar_t kRegPathClients[]; | 16 extern const wchar_t kRegPathClients[]; |
17 | 17 |
18 // The difference between ClientState and ClientStateMedium is that the former | 18 // The difference between ClientState and ClientStateMedium is that the former |
19 // lives on HKCU or HKLM and the later always lives in HKLM. The only use of | 19 // lives on HKCU or HKLM and the later always lives in HKLM. ClientStateMedium |
20 // the ClientStateMedium is for the EULA consent. See bug 1594565. | 20 // is primarily used for consent of the EULA and stats collection. See bug |
| 21 // 1594565. |
21 extern const wchar_t kRegPathClientState[]; | 22 extern const wchar_t kRegPathClientState[]; |
22 extern const wchar_t kRegPathClientStateMedium[]; | 23 extern const wchar_t kRegPathClientStateMedium[]; |
23 | 24 |
| 25 extern const wchar_t kRegPathGoogleUpdate[]; |
| 26 |
24 // The name of the "Commands" key that lives in an app's Clients key | 27 // The name of the "Commands" key that lives in an app's Clients key |
25 // (a.k.a. "Version" key). | 28 // (a.k.a. "Version" key). |
26 extern const wchar_t kRegCommandsKey[]; | 29 extern const wchar_t kRegCommandsKey[]; |
27 | 30 |
28 extern const wchar_t kRegApField[]; | 31 extern const wchar_t kRegApField[]; |
29 extern const wchar_t kRegBrandField[]; | 32 extern const wchar_t kRegBrandField[]; |
30 extern const wchar_t kRegBrowserField[]; | 33 extern const wchar_t kRegBrowserField[]; |
31 extern const wchar_t kRegCFEndTempOptOutCmdField[]; | 34 extern const wchar_t kRegCFEndTempOptOutCmdField[]; |
32 extern const wchar_t kRegCFOptInCmdField[]; | 35 extern const wchar_t kRegCFOptInCmdField[]; |
33 extern const wchar_t kRegCFOptOutCmdField[]; | 36 extern const wchar_t kRegCFOptOutCmdField[]; |
34 extern const wchar_t kRegCFTempOptOutCmdField[]; | 37 extern const wchar_t kRegCFTempOptOutCmdField[]; |
35 extern const wchar_t kRegClientField[]; | 38 extern const wchar_t kRegClientField[]; |
36 extern const wchar_t kRegCommandLineField[]; | 39 extern const wchar_t kRegCommandLineField[]; |
37 extern const wchar_t kRegCriticalVersionField[]; | 40 extern const wchar_t kRegCriticalVersionField[]; |
38 extern const wchar_t kRegDidRunField[]; | 41 extern const wchar_t kRegDidRunField[]; |
39 extern const wchar_t kRegEULAAceptedField[]; | 42 extern const wchar_t kRegEULAAceptedField[]; |
40 extern const wchar_t kRegLangField[]; | 43 extern const wchar_t kRegLangField[]; |
41 extern const wchar_t kRegLastCheckedField[]; | 44 extern const wchar_t kRegLastCheckedField[]; |
42 extern const wchar_t kRegMetricsId[]; | 45 extern const wchar_t kRegMetricsId[]; |
43 extern const wchar_t kRegMSIField[]; | 46 extern const wchar_t kRegMSIField[]; |
44 extern const wchar_t kRegNameField[]; | 47 extern const wchar_t kRegNameField[]; |
45 extern const wchar_t kRegOemInstallField[]; | 48 extern const wchar_t kRegOemInstallField[]; |
46 extern const wchar_t kRegOldVersionField[]; | 49 extern const wchar_t kRegOldVersionField[]; |
47 extern const wchar_t kRegOopcrashesField[]; | 50 extern const wchar_t kRegOopcrashesField[]; |
48 extern const wchar_t kRegRLZBrandField[]; | 51 extern const wchar_t kRegRLZBrandField[]; |
49 extern const wchar_t kRegRLZReactivationBrandField[]; | 52 extern const wchar_t kRegRLZReactivationBrandField[]; |
50 extern const wchar_t kRegReferralField[]; | 53 extern const wchar_t kRegReferralField[]; |
51 extern const wchar_t kRegRenameCmdField[]; | 54 extern const wchar_t kRegRenameCmdField[]; |
52 extern const wchar_t kRegSendsPingsField[]; | 55 extern const wchar_t kRegSendsPingsField[]; |
| 56 extern const wchar_t kRegUninstallCmdLine[]; |
53 extern const wchar_t kRegUsageStatsField[]; | 57 extern const wchar_t kRegUsageStatsField[]; |
54 extern const wchar_t kRegVersionField[]; | 58 extern const wchar_t kRegVersionField[]; |
55 extern const wchar_t kRegWebAccessibleField[]; | 59 extern const wchar_t kRegWebAccessibleField[]; |
56 | 60 |
57 // last time that chrome ran in the Time internal format. | 61 // last time that chrome ran in the Time internal format. |
58 extern const wchar_t kRegLastRunTimeField[]; | 62 extern const wchar_t kRegLastRunTimeField[]; |
59 | 63 |
60 } // namespace google_update | 64 } // namespace google_update |
61 | 65 |
62 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 66 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
OLD | NEW |