OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/sync_driver/pref_names.h" | 5 #include "components/sync_driver/pref_names.h" |
6 | 6 |
7 namespace sync_driver { | 7 namespace sync_driver { |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, | 80 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, |
81 // so we don't have to do a GetKey command at restart. | 81 // so we don't have to do a GetKey command at restart. |
82 const char kSyncKeystoreEncryptionBootstrapToken[] = | 82 const char kSyncKeystoreEncryptionBootstrapToken[] = |
83 "sync.keystore_encryption_bootstrap_token"; | 83 "sync.keystore_encryption_bootstrap_token"; |
84 | 84 |
85 // Boolean tracking whether the user chose to specify a secondary encryption | 85 // Boolean tracking whether the user chose to specify a secondary encryption |
86 // passphrase. | 86 // passphrase. |
87 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; | 87 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; |
88 | 88 |
89 // List of the currently acknowledged set of sync types, used to figure out | |
90 // if a new sync type has rolled out so we can notify the user. | |
91 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; | |
92 | |
93 // The GUID session sync will use to identify this client, even across sync | 89 // The GUID session sync will use to identify this client, even across sync |
94 // disable/enable events. | 90 // disable/enable events. |
95 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; | 91 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; |
96 | 92 |
97 #if defined(OS_CHROMEOS) | 93 #if defined(OS_CHROMEOS) |
98 // A string that is used to store first-time sync startup after once sync is | 94 // A string that is used to store first-time sync startup after once sync is |
99 // disabled. This will be refreshed every sign-in. | 95 // disabled. This will be refreshed every sign-in. |
100 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; | 96 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; |
101 #endif // defined(OS_CHROMEOS) | 97 #endif // defined(OS_CHROMEOS) |
102 | 98 |
103 // Stores how many times to try rollback before giving up. | 99 // Stores how many times to try rollback before giving up. |
104 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries"; | 100 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries"; |
105 | 101 |
106 // Stores the timestamp of first sync. | 102 // Stores the timestamp of first sync. |
107 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; | 103 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; |
108 | 104 |
109 } // namespace prefs | 105 } // namespace prefs |
110 | 106 |
111 } // namespace sync_driver | 107 } // namespace sync_driver |
OLD | NEW |