OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 #include "components/proximity_auth/cryptauth/pref_names.h" | |
6 | |
7 namespace proximity_auth { | |
8 namespace prefs { | |
9 | |
10 // Whether the system is scheduling device_syncs more aggressively to recover | |
11 // from the previous device_sync failure. | |
12 const char kCryptAuthDeviceSyncIsRecoveringFromFailure[] = | |
13 "cryptauth.device_sync.is_recovering_from_failure"; | |
14 | |
15 // The timestamp of the last successful CryptAuth device_sync in seconds. | |
16 const char kCryptAuthDeviceSyncLastSyncTimeSeconds[] = | |
17 "cryptauth.device_sync.last_device_sync_time_seconds"; | |
18 | |
19 // The reason that the next device_sync is performed. This should be one of the | |
20 // enum values of InvocationReason in | |
21 // components/proximity_auth/cryptauth/proto/cryptauth_api.proto. | |
22 const char kCryptAuthDeviceSyncReason[] = "cryptauth.device_sync.reason"; | |
23 | |
24 // A list of unlock keys (stored as dictionaries) synced from CryptAuth. Unlock | |
25 // Keys are phones belonging to the user that can unlock other devices, such as | |
26 // desktop PCs. | |
27 const char kCryptAuthDeviceSyncUnlockKeys[] = | |
28 "cryptauth.device_sync.unlock_keys"; | |
29 | |
30 // Whether the system is scheduling enrollments more aggressively to recover | |
31 // from the previous enrollment failure. | |
32 const char kCryptAuthEnrollmentIsRecoveringFromFailure[] = | |
33 "cryptauth.enrollment.is_recovering_from_failure"; | |
34 | |
35 // The timestamp of the last successful CryptAuth enrollment in seconds. | |
36 const char kCryptAuthEnrollmentLastEnrollmentTimeSeconds[] = | |
37 "cryptauth.enrollment.last_enrollment_time_seconds"; | |
38 | |
39 // The reason that the next enrollment is performed. This should be one of the | |
40 // enum values of InvocationReason in | |
41 // components/proximity_auth/cryptauth/proto/cryptauth_api.proto. | |
42 extern const char kCryptAuthEnrollmentReason[] = "cryptauth.enrollment.reason"; | |
43 | |
44 // The public key of the user and device enrolled with CryptAuth. | |
45 extern const char kCryptAuthEnrollmentUserPublicKey[] = | |
46 "cryptauth.enrollment.user_public_key"; | |
47 | |
48 // The private key of the user and device enrolled with CryptAuth. | |
49 extern const char kCryptAuthEnrollmentUserPrivateKey[] = | |
50 "cryptauth.enrollment.user_private_key"; | |
51 | |
52 // The GCM registration id used for receiving push messages from CryptAuth. | |
53 extern const char kCryptAuthGCMRegistrationId[] = | |
54 "cryptauth.gcm_registration_id"; | |
55 | |
56 } // namespace prefs | |
57 } // namespace proximity_auth | |
OLD | NEW |