| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Defines all the command-line switches used with Google Update. | 5 // Defines all the command-line switches used with Google Update. |
| 6 | 6 |
| 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
| 8 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 8 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace google_update { | 10 namespace google_update { |
| 11 | 11 |
| 12 // Strictly speaking Google Update doesn't care about this GUID but it is still | 12 // Strictly speaking Google Update doesn't care about this GUID but it is still |
| 13 // related to install as it is used by MSI to identify Gears. | 13 // related to install as it is used by MSI to identify Gears. |
| 14 extern const wchar_t kGearsUpgradeCode[]; | 14 extern const wchar_t kGearsUpgradeCode[]; |
| 15 | 15 |
| 16 // The GUID Google Update uses to keep track of Chrome upgrades. |
| 17 extern const wchar_t kChromeUpgradeCode[]; |
| 18 |
| 16 extern const wchar_t kRegPathClients[]; | 19 extern const wchar_t kRegPathClients[]; |
| 17 | 20 |
| 18 // The difference between ClientState and ClientStateMedium is that the former | 21 // The difference between ClientState and ClientStateMedium is that the former |
| 19 // lives on HKCU or HKLM and the later always lives in HKLM. The only use of | 22 // lives on HKCU or HKLM and the later always lives in HKLM. The only use of |
| 20 // the ClientStateMedium is for the EULA consent. See bug 1594565. | 23 // the ClientStateMedium is for the EULA consent. See bug 1594565. |
| 21 extern const wchar_t kRegPathClientState[]; | 24 extern const wchar_t kRegPathClientState[]; |
| 22 extern const wchar_t kRegPathClientStateMedium[]; | 25 extern const wchar_t kRegPathClientStateMedium[]; |
| 23 | 26 |
| 24 extern const wchar_t kRegApField[]; | 27 extern const wchar_t kRegApField[]; |
| 25 extern const wchar_t kRegBrowserField[]; | 28 extern const wchar_t kRegBrowserField[]; |
| 26 extern const wchar_t kRegClientField[]; | 29 extern const wchar_t kRegClientField[]; |
| 27 extern const wchar_t kRegDidRunField[]; | 30 extern const wchar_t kRegDidRunField[]; |
| 28 extern const wchar_t kRegLangField[]; | 31 extern const wchar_t kRegLangField[]; |
| 29 extern const wchar_t kRegLastCheckedField[]; | 32 extern const wchar_t kRegLastCheckedField[]; |
| 30 extern const wchar_t kRegMetricsId[]; | 33 extern const wchar_t kRegMetricsId[]; |
| 31 extern const wchar_t kRegNameField[]; | 34 extern const wchar_t kRegNameField[]; |
| 32 extern const wchar_t kRegOldVersionField[]; | 35 extern const wchar_t kRegOldVersionField[]; |
| 33 extern const wchar_t kRegRenameCmdField[]; | 36 extern const wchar_t kRegRenameCmdField[]; |
| 34 extern const wchar_t kRegRLZBrandField[]; | 37 extern const wchar_t kRegRLZBrandField[]; |
| 35 extern const wchar_t kRegUsageStatsField[]; | 38 extern const wchar_t kRegUsageStatsField[]; |
| 36 extern const wchar_t kRegVersionField[]; | 39 extern const wchar_t kRegVersionField[]; |
| 37 extern const wchar_t kRegReferralField[]; | 40 extern const wchar_t kRegReferralField[]; |
| 38 extern const wchar_t kRegEULAAceptedField[]; | 41 extern const wchar_t kRegEULAAceptedField[]; |
| 39 | 42 |
| 40 extern const wchar_t kEnvProductVersionKey[]; | 43 extern const wchar_t kEnvProductVersionKey[]; |
| 41 } // namespace google_update | 44 } // namespace google_update |
| 42 | 45 |
| 43 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ | 46 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |
| OLD | NEW |