blob: 5bba2d3092a84605ef29564124f2b75169828ecc [file] [log] [blame]
Jay Srinivasan1c0fe792013-03-28 16:45:25 -07001// 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
8namespace 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.
12extern const char kPowerwashMarkerFile[];
13
14// The contents of the powerwash marker file.
15extern const char kPowerwashCommand[];
16
Jay Srinivasand29695d2013-04-08 15:08:05 -070017// Constants related to preferences.
18extern const char kPrefsBackoffExpiryTime[];
19extern const char kPrefsCertificateReportToSendDownload[];
20extern const char kPrefsCertificateReportToSendUpdate[];
21extern const char kPrefsCurrentResponseSignature[];
22extern const char kPrefsCurrentUrlFailureCount[];
23extern const char kPrefsCurrentUrlIndex[];
24extern const char kPrefsDeltaUpdateFailures[];
25extern const char kPrefsLastActivePingDay[];
26extern const char kPrefsLastRollCallPingDay[];
27extern const char kPrefsManifestMetadataSize[];
28extern const char kPrefsPayloadAttemptNumber[];
29extern const char kPrefsPreviousVersion[];
30extern const char kPrefsResumedUpdateFailures[];
31extern const char kPrefsUpdateCheckCount[];
32extern const char kPrefsUpdateCheckResponseHash[];
33extern const char kPrefsUpdateFirstSeenAt[];
34extern const char kPrefsUpdateServerCertificate[];
35extern const char kPrefsUpdateStateNextDataOffset[];
36extern const char kPrefsUpdateStateNextOperation[];
37extern const char kPrefsUpdateStateSHA256Context[];
38extern const char kPrefsUpdateStateSignatureBlob[];
39extern const char kPrefsUpdateStateSignedSHA256Context[];
40extern const char kPrefsWallClockWaitPeriod[];
41
Jay Srinivasan1c0fe792013-03-28 16:45:25 -070042} // namespace chromeos_update_engine
43
44#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_CONSTANTS_H