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.
5 #include "components/proximity_auth/cryptauth/pref_names.h"
7 namespace proximity_auth
{
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";
15 // The timestamp of the last successfull CryptAuth device_sync in seconds.
16 const char kCryptAuthDeviceSyncLastSyncTimeSeconds
[] =
17 "cryptauth.device_sync.last_device_sync_time_seconds";
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";
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
27 const char kCryptAuthDeviceSyncUnlockKeys
[] =
28 "cryptauth.device_sync.unlock_keys";
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";
35 // The timestamp of the last successfull CryptAuth enrollment in seconds.
36 const char kCryptAuthEnrollmentLastEnrollmentTimeSeconds
[] =
37 "cryptauth.enrollment.last_enrollment_time_seconds";
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";