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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; | 100 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; |
98 | 101 |
99 // Stores whether a platform specific passphrase error prompt has been shown to | 102 // Stores whether a platform specific passphrase error prompt has been shown to |
100 // the user (e.g. an Android system notification). Used for out of band prompts | 103 // the user (e.g. an Android system notification). Used for out of band prompts |
101 // that we only want to use once. | 104 // that we only want to use once. |
102 const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted"; | 105 const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted"; |
103 | 106 |
104 } // namespace prefs | 107 } // namespace prefs |
105 | 108 |
106 } // namespace sync_driver | 109 } // namespace sync_driver |
OLD | NEW |