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. 4 5 // Defines all the command-line switches used with Google Update. 6 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ 8 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ 9 10 namespace google_update { 11 12 // The GUID Google Update uses to keep track of Chrome upgrades. 13 extern const wchar_t kChromeUpgradeCode[]; 14 15 // The GUID Google Update uses to keep track of Google Update self-upgrades. 16 extern const wchar_t kGoogleUpdateUpgradeCode[]; 17 18 extern const wchar_t kGoogleUpdateSetupExe[]; 19 20 extern const wchar_t kRegPathClients[]; 21 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 25 // 1594565. 26 extern const wchar_t kRegPathClientState[]; 27 extern const wchar_t kRegPathClientStateMedium[]; 28 29 extern const wchar_t kRegPathGoogleUpdate[]; 30 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[]; 34 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[]; 78 79 // last time that chrome ran in the Time internal format. 80 extern const wchar_t kRegLastRunTimeField[]; 81 82 } // namespace google_update 83 84 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ 85