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