Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / proximity_auth / cryptauth / pref_names.cc
blobfb8966930c5773ce42183a10a4a3590da59fc6e7
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 {
8 namespace prefs {
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
26 // desktop PCs.
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";
44 // The public key of the user and device enrolled with CryptAuth.
45 extern const char kCryptAuthEnrollmentUserPublicKey[] =
46 "cryptauth.enrollment.user_public_key";
48 // The private key of the user and device enrolled with CryptAuth.
49 extern const char kCryptAuthEnrollmentUserPrivateKey[] =
50 "cryptauth.enrollment.user_private_key";
52 // The GCM registration id used for receiving push messages from CryptAuth.
53 extern const char kCryptAuthGCMRegistrationId[] =
54 "cryptauth.gcm_registration_id";
56 } // namespace prefs
57 } // proximity_auth