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