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 |
11 // 64-bit integer serialization of the base::Time when the last sync occurred. | 11 // 64-bit integer serialization of the base::Time when the last sync occurred. |
12 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; | 12 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; |
13 | 13 |
| 14 // 64-bit integer serialization of the base::Time of the last sync poll. |
| 15 const char kSyncLastPollTime[] = "sync.last_poll_time"; |
| 16 |
14 // Boolean specifying whether the user finished setting up sync. | 17 // Boolean specifying whether the user finished setting up sync. |
15 const char kSyncHasSetupCompleted[] = "sync.has_setup_completed"; | 18 const char kSyncHasSetupCompleted[] = "sync.has_setup_completed"; |
16 | 19 |
17 // Boolean specifying whether sync has an auth error. | 20 // Boolean specifying whether sync has an auth error. |
18 const char kSyncHasAuthError[] = "sync.has_auth_error"; | 21 const char kSyncHasAuthError[] = "sync.has_auth_error"; |
19 | 22 |
20 // Boolean specifying whether to automatically sync all data types (including | 23 // Boolean specifying whether to automatically sync all data types (including |
21 // future ones, as they're added). If this is true, the following preferences | 24 // future ones, as they're added). If this is true, the following preferences |
22 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. | 25 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. |
23 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced"; | 26 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced"; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 95 |
93 // Stores how many times to try rollback before giving up. | 96 // Stores how many times to try rollback before giving up. |
94 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries"; | 97 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries"; |
95 | 98 |
96 // Stores the timestamp of first sync. | 99 // Stores the timestamp of first sync. |
97 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; | 100 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; |
98 | 101 |
99 } // namespace prefs | 102 } // namespace prefs |
100 | 103 |
101 } // namespace sync_driver | 104 } // namespace sync_driver |
OLD | NEW |