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