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 10namespace google_update { 11 12// The GUID Google Update uses to keep track of Chrome upgrades. 13extern const wchar_t kChromeUpgradeCode[]; 14 15// The GUID Google Update uses to keep track of Google Update self-upgrades. 16extern const wchar_t kGoogleUpdateUpgradeCode[]; 17 18extern const wchar_t kGoogleUpdateSetupExe[]; 19 20extern 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. 26extern const wchar_t kRegPathClientState[]; 27extern const wchar_t kRegPathClientStateMedium[]; 28 29extern 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). 33extern const wchar_t kRegCommandsKey[]; 34 35extern const wchar_t kRegAggregateMethod[]; 36extern const wchar_t kRegApField[]; 37extern const wchar_t kRegAutoRunOnOSUpgradeField[]; 38extern const wchar_t kRegBrandField[]; 39extern const wchar_t kRegBrowserField[]; 40extern const wchar_t kRegCFEndTempOptOutCmdField[]; 41extern const wchar_t kRegCFOptInCmdField[]; 42extern const wchar_t kRegCFOptOutCmdField[]; 43extern const wchar_t kRegCFTempOptOutCmdField[]; 44extern const wchar_t kRegClientField[]; 45extern const wchar_t kRegCommandLineField[]; 46extern const wchar_t kRegCriticalVersionField[]; 47extern const wchar_t kRegDidRunField[]; 48extern const wchar_t kRegEULAAceptedField[]; 49extern const wchar_t kRegGoogleUpdateVersion[]; 50extern const wchar_t kRegLangField[]; 51extern const wchar_t kRegLastStartedAUField[]; 52extern const wchar_t kRegLastCheckedField[]; 53extern const wchar_t kRegLastCheckSuccessField[]; 54extern const wchar_t kRegLastInstallerResultField[]; 55extern const wchar_t kRegLastInstallerErrorField[]; 56extern const wchar_t kRegLastInstallerExtraField[]; 57extern const wchar_t kRegMetricsId[]; 58extern const wchar_t kRegMetricsIdEnabledDate[]; 59extern const wchar_t kRegMetricsIdInstallDate[]; 60extern const wchar_t kRegMSIField[]; 61extern const wchar_t kRegNameField[]; 62extern const wchar_t kRegOemInstallField[]; 63extern const wchar_t kRegOldVersionField[]; 64extern const wchar_t kRegOopcrashesField[]; 65extern const wchar_t kRegPathField[]; 66extern const wchar_t kRegProfilesActive[]; 67extern const wchar_t kRegProfilesSignedIn[]; 68extern const wchar_t kRegRLZBrandField[]; 69extern const wchar_t kRegRLZReactivationBrandField[]; 70extern const wchar_t kRegReferralField[]; 71extern const wchar_t kRegRenameCmdField[]; 72extern const wchar_t kRegRunAsUserField[]; 73extern const wchar_t kRegSendsPingsField[]; 74extern const wchar_t kRegUninstallCmdLine[]; 75extern const wchar_t kRegUsageStatsField[]; 76extern const wchar_t kRegVersionField[]; 77extern const wchar_t kRegWebAccessibleField[]; 78 79// last time that chrome ran in the Time internal format. 80extern const wchar_t kRegLastRunTimeField[]; 81 82} // namespace google_update 83 84#endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ 85