| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "components/sync_driver/pref_names.h" | 6 #include "components/sync_driver/pref_names.h" |
| 7 | 7 |
| 8 namespace sync_driver { | 8 namespace sync_driver { |
| 9 | 9 |
| 10 namespace prefs { | 10 namespace prefs { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 // future ones, as they're added). If this is true, the following preferences | 25 // future ones, as they're added). If this is true, the following preferences |
| 26 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. | 26 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. |
| 27 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced"; | 27 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced"; |
| 28 | 28 |
| 29 // Booleans specifying whether the user has selected to sync the following | 29 // Booleans specifying whether the user has selected to sync the following |
| 30 // datatypes. | 30 // datatypes. |
| 31 const char kSyncAppList[] = "sync.app_list"; | 31 const char kSyncAppList[] = "sync.app_list"; |
| 32 const char kSyncAppNotifications[] = "sync.app_notifications"; | 32 const char kSyncAppNotifications[] = "sync.app_notifications"; |
| 33 const char kSyncAppSettings[] = "sync.app_settings"; | 33 const char kSyncAppSettings[] = "sync.app_settings"; |
| 34 const char kSyncApps[] = "sync.apps"; | 34 const char kSyncApps[] = "sync.apps"; |
| 35 const char kSyncArcPackage[] = "sync.arc_package"; |
| 35 const char kSyncArticles[] = "sync.articles"; | 36 const char kSyncArticles[] = "sync.articles"; |
| 36 const char kSyncAutofillProfile[] = "sync.autofill_profile"; | 37 const char kSyncAutofillProfile[] = "sync.autofill_profile"; |
| 37 const char kSyncAutofillWallet[] = "sync.autofill_wallet"; | 38 const char kSyncAutofillWallet[] = "sync.autofill_wallet"; |
| 38 const char kSyncAutofillWalletMetadata[] = "sync.autofill_wallet_metadata"; | 39 const char kSyncAutofillWalletMetadata[] = "sync.autofill_wallet_metadata"; |
| 39 const char kSyncAutofill[] = "sync.autofill"; | 40 const char kSyncAutofill[] = "sync.autofill"; |
| 40 const char kSyncBookmarks[] = "sync.bookmarks"; | 41 const char kSyncBookmarks[] = "sync.bookmarks"; |
| 41 const char kSyncDeviceInfo[] = "sync.device_info"; | 42 const char kSyncDeviceInfo[] = "sync.device_info"; |
| 42 const char kSyncDictionary[] = "sync.dictionary"; | 43 const char kSyncDictionary[] = "sync.dictionary"; |
| 43 const char kSyncExtensionSettings[] = "sync.extension_settings"; | 44 const char kSyncExtensionSettings[] = "sync.extension_settings"; |
| 44 const char kSyncExtensions[] = "sync.extensions"; | 45 const char kSyncExtensions[] = "sync.extensions"; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // Updated Nigori state after user entering passphrase. This Nigori state should | 120 // Updated Nigori state after user entering passphrase. This Nigori state should |
| 120 // be persisted across restarts and passed to backend when it is initialized | 121 // be persisted across restarts and passed to backend when it is initialized |
| 121 // after directory cleanup. Preference contains base64 encoded serialized | 122 // after directory cleanup. Preference contains base64 encoded serialized |
| 122 // sync_pb::NigoriSpecifics. | 123 // sync_pb::NigoriSpecifics. |
| 123 const char kSyncNigoriStateForPassphraseTransition[] = | 124 const char kSyncNigoriStateForPassphraseTransition[] = |
| 124 "sync.nigori_state_for_passphrase_transition"; | 125 "sync.nigori_state_for_passphrase_transition"; |
| 125 | 126 |
| 126 } // namespace prefs | 127 } // namespace prefs |
| 127 | 128 |
| 128 } // namespace sync_driver | 129 } // namespace sync_driver |
| OLD | NEW |