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
3 // found in the LICENSE file.
5 // Defines all the command-line switches used with Google Update.
7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_
8 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_
10 namespace google_update
{
12 // The GUID Google Update uses to keep track of Chrome upgrades.
13 extern const wchar_t kChromeUpgradeCode
[];
15 // The GUID Google Update uses to keep track of Google Update self-upgrades.
16 extern const wchar_t kGoogleUpdateUpgradeCode
[];
18 extern const wchar_t kGoogleUpdateSetupExe
[];
20 extern const wchar_t kRegPathClients
[];
22 // The difference between ClientState and ClientStateMedium is that the former
23 // lives on HKCU or HKLM and the later always lives in HKLM. ClientStateMedium
24 // is primarily used for consent of the EULA and stats collection. See bug
26 extern const wchar_t kRegPathClientState
[];
27 extern const wchar_t kRegPathClientStateMedium
[];
29 extern const wchar_t kRegPathGoogleUpdate
[];
31 // The name of the "Commands" key that lives in an app's Clients key
32 // (a.k.a. "Version" key).
33 extern const wchar_t kRegCommandsKey
[];
35 extern const wchar_t kRegAggregateMethod
[];
36 extern const wchar_t kRegApField
[];
37 extern const wchar_t kRegAutoRunOnOSUpgradeField
[];
38 extern const wchar_t kRegBrandField
[];
39 extern const wchar_t kRegBrowserField
[];
40 extern const wchar_t kRegCFEndTempOptOutCmdField
[];
41 extern const wchar_t kRegCFOptInCmdField
[];
42 extern const wchar_t kRegCFOptOutCmdField
[];
43 extern const wchar_t kRegCFTempOptOutCmdField
[];
44 extern const wchar_t kRegClientField
[];
45 extern const wchar_t kRegCommandLineField
[];
46 extern const wchar_t kRegCriticalVersionField
[];
47 extern const wchar_t kRegDidRunField
[];
48 extern const wchar_t kRegEULAAceptedField
[];
49 extern const wchar_t kRegGoogleUpdateVersion
[];
50 extern const wchar_t kRegLangField
[];
51 extern const wchar_t kRegLastStartedAUField
[];
52 extern const wchar_t kRegLastCheckedField
[];
53 extern const wchar_t kRegLastCheckSuccessField
[];
54 extern const wchar_t kRegLastInstallerResultField
[];
55 extern const wchar_t kRegLastInstallerErrorField
[];
56 extern const wchar_t kRegLastInstallerExtraField
[];
57 extern const wchar_t kRegMetricsId
[];
58 extern const wchar_t kRegMetricsIdEnabledDate
[];
59 extern const wchar_t kRegMetricsIdInstallDate
[];
60 extern const wchar_t kRegMSIField
[];
61 extern const wchar_t kRegNameField
[];
62 extern const wchar_t kRegOemInstallField
[];
63 extern const wchar_t kRegOldVersionField
[];
64 extern const wchar_t kRegOopcrashesField
[];
65 extern const wchar_t kRegPathField
[];
66 extern const wchar_t kRegProfilesActive
[];
67 extern const wchar_t kRegProfilesSignedIn
[];
68 extern const wchar_t kRegRLZBrandField
[];
69 extern const wchar_t kRegRLZReactivationBrandField
[];
70 extern const wchar_t kRegReferralField
[];
71 extern const wchar_t kRegRenameCmdField
[];
72 extern const wchar_t kRegRunAsUserField
[];
73 extern const wchar_t kRegSendsPingsField
[];
74 extern const wchar_t kRegUninstallCmdLine
[];
75 extern const wchar_t kRegUsageStatsField
[];
76 extern const wchar_t kRegVersionField
[];
77 extern const wchar_t kRegWebAccessibleField
[];
79 // last time that chrome ran in the Time internal format.
80 extern const wchar_t kRegLastRunTimeField
[];
82 } // namespace google_update
84 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_