Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Side by Side Diff: components/proximity_auth/cryptauth/pref_names.cc

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/proximity_auth/cryptauth/pref_names.h" 5 #include "components/proximity_auth/cryptauth/pref_names.h"
6 6
7 namespace proximity_auth { 7 namespace proximity_auth {
8 namespace prefs { 8 namespace prefs {
9 9
10 // Whether the system is scheduling device_syncs more aggressively to recover 10 // Whether the system is scheduling device_syncs more aggressively to recover
11 // from the previous device_sync failure. 11 // from the previous device_sync failure.
12 const char kCryptAuthDeviceSyncIsRecoveringFromFailure[] = 12 const char kCryptAuthDeviceSyncIsRecoveringFromFailure[] =
13 "cryptauth.device_sync.is_recovering_from_failure"; 13 "cryptauth.device_sync.is_recovering_from_failure";
14 14
15 // The timestamp of the last successfull CryptAuth device_sync in seconds. 15 // The timestamp of the last successful CryptAuth device_sync in seconds.
16 const char kCryptAuthDeviceSyncLastSyncTimeSeconds[] = 16 const char kCryptAuthDeviceSyncLastSyncTimeSeconds[] =
17 "cryptauth.device_sync.last_device_sync_time_seconds"; 17 "cryptauth.device_sync.last_device_sync_time_seconds";
18 18
19 // The reason that the next device_sync is performed. This should be one of the 19 // The reason that the next device_sync is performed. This should be one of the
20 // enum values of InvocationReason in 20 // enum values of InvocationReason in
21 // components/proximity_auth/cryptauth/proto/cryptauth_api.proto. 21 // components/proximity_auth/cryptauth/proto/cryptauth_api.proto.
22 const char kCryptAuthDeviceSyncReason[] = "cryptauth.device_sync.reason"; 22 const char kCryptAuthDeviceSyncReason[] = "cryptauth.device_sync.reason";
23 23
24 // A list of unlock keys (stored as dictionaries) synced from CryptAuth. Unlock 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 25 // Keys are phones belonging to the user that can unlock other devices, such as
26 // desktop PCs. 26 // desktop PCs.
27 const char kCryptAuthDeviceSyncUnlockKeys[] = 27 const char kCryptAuthDeviceSyncUnlockKeys[] =
28 "cryptauth.device_sync.unlock_keys"; 28 "cryptauth.device_sync.unlock_keys";
29 29
30 // Whether the system is scheduling enrollments more aggressively to recover 30 // Whether the system is scheduling enrollments more aggressively to recover
31 // from the previous enrollment failure. 31 // from the previous enrollment failure.
32 const char kCryptAuthEnrollmentIsRecoveringFromFailure[] = 32 const char kCryptAuthEnrollmentIsRecoveringFromFailure[] =
33 "cryptauth.enrollment.is_recovering_from_failure"; 33 "cryptauth.enrollment.is_recovering_from_failure";
34 34
35 // The timestamp of the last successfull CryptAuth enrollment in seconds. 35 // The timestamp of the last successful CryptAuth enrollment in seconds.
36 const char kCryptAuthEnrollmentLastEnrollmentTimeSeconds[] = 36 const char kCryptAuthEnrollmentLastEnrollmentTimeSeconds[] =
37 "cryptauth.enrollment.last_enrollment_time_seconds"; 37 "cryptauth.enrollment.last_enrollment_time_seconds";
38 38
39 // The reason that the next enrollment is performed. This should be one of the 39 // The reason that the next enrollment is performed. This should be one of the
40 // enum values of InvocationReason in 40 // enum values of InvocationReason in
41 // components/proximity_auth/cryptauth/proto/cryptauth_api.proto. 41 // components/proximity_auth/cryptauth/proto/cryptauth_api.proto.
42 extern const char kCryptAuthEnrollmentReason[] = "cryptauth.enrollment.reason"; 42 extern const char kCryptAuthEnrollmentReason[] = "cryptauth.enrollment.reason";
43 43
44 // The public key of the user and device enrolled with CryptAuth. 44 // The public key of the user and device enrolled with CryptAuth.
45 extern const char kCryptAuthEnrollmentUserPublicKey[] = 45 extern const char kCryptAuthEnrollmentUserPublicKey[] =
46 "cryptauth.enrollment.user_public_key"; 46 "cryptauth.enrollment.user_public_key";
47 47
48 // The private key of the user and device enrolled with CryptAuth. 48 // The private key of the user and device enrolled with CryptAuth.
49 extern const char kCryptAuthEnrollmentUserPrivateKey[] = 49 extern const char kCryptAuthEnrollmentUserPrivateKey[] =
50 "cryptauth.enrollment.user_private_key"; 50 "cryptauth.enrollment.user_private_key";
51 51
52 // The GCM registration id used for receiving push messages from CryptAuth. 52 // The GCM registration id used for receiving push messages from CryptAuth.
53 extern const char kCryptAuthGCMRegistrationId[] = 53 extern const char kCryptAuthGCMRegistrationId[] =
54 "cryptauth.gcm_registration_id"; 54 "cryptauth.gcm_registration_id";
55 55
56 } // namespace prefs 56 } // namespace prefs
57 } // proximity_auth 57 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698