Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 1 | // Copyright (c) 2013 The Chromium OS 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 | #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_CONSTANTS_H |
| 6 | #define CHROMEOS_PLATFORM_UPDATE_ENGINE_CONSTANTS_H |
| 7 | |
| 8 | namespace chromeos_update_engine { |
| 9 | |
| 10 | // The name of the marker file used to trigger powerwash when post-install |
| 11 | // completes successfully so that the device is powerwashed on next reboot. |
| 12 | extern const char kPowerwashMarkerFile[]; |
| 13 | |
| 14 | // The contents of the powerwash marker file. |
| 15 | extern const char kPowerwashCommand[]; |
| 16 | |
Jay Srinivasan | d29695d | 2013-04-08 15:08:05 -0700 | [diff] [blame^] | 17 | // Constants related to preferences. |
| 18 | extern const char kPrefsBackoffExpiryTime[]; |
| 19 | extern const char kPrefsCertificateReportToSendDownload[]; |
| 20 | extern const char kPrefsCertificateReportToSendUpdate[]; |
| 21 | extern const char kPrefsCurrentResponseSignature[]; |
| 22 | extern const char kPrefsCurrentUrlFailureCount[]; |
| 23 | extern const char kPrefsCurrentUrlIndex[]; |
| 24 | extern const char kPrefsDeltaUpdateFailures[]; |
| 25 | extern const char kPrefsLastActivePingDay[]; |
| 26 | extern const char kPrefsLastRollCallPingDay[]; |
| 27 | extern const char kPrefsManifestMetadataSize[]; |
| 28 | extern const char kPrefsPayloadAttemptNumber[]; |
| 29 | extern const char kPrefsPreviousVersion[]; |
| 30 | extern const char kPrefsResumedUpdateFailures[]; |
| 31 | extern const char kPrefsUpdateCheckCount[]; |
| 32 | extern const char kPrefsUpdateCheckResponseHash[]; |
| 33 | extern const char kPrefsUpdateFirstSeenAt[]; |
| 34 | extern const char kPrefsUpdateServerCertificate[]; |
| 35 | extern const char kPrefsUpdateStateNextDataOffset[]; |
| 36 | extern const char kPrefsUpdateStateNextOperation[]; |
| 37 | extern const char kPrefsUpdateStateSHA256Context[]; |
| 38 | extern const char kPrefsUpdateStateSignatureBlob[]; |
| 39 | extern const char kPrefsUpdateStateSignedSHA256Context[]; |
| 40 | extern const char kPrefsWallClockWaitPeriod[]; |
| 41 | |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 42 | } // namespace chromeos_update_engine |
| 43 | |
| 44 | #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_CONSTANTS_H |