OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. | 990 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. |
991 const char kKeepEverythingSynced[] = "sync.keep_everything_synced"; | 991 const char kKeepEverythingSynced[] = "sync.keep_everything_synced"; |
992 | 992 |
993 // Booleans specifying whether the user has selected to sync the following | 993 // Booleans specifying whether the user has selected to sync the following |
994 // datatypes. | 994 // datatypes. |
995 const char kSyncBookmarks[] = "sync.bookmarks"; | 995 const char kSyncBookmarks[] = "sync.bookmarks"; |
996 const char kSyncPasswords[] = "sync.passwords"; | 996 const char kSyncPasswords[] = "sync.passwords"; |
997 const char kSyncPreferences[] = "sync.preferences"; | 997 const char kSyncPreferences[] = "sync.preferences"; |
998 const char kSyncApps[] = "sync.apps"; | 998 const char kSyncApps[] = "sync.apps"; |
999 const char kSyncAutofill[] = "sync.autofill"; | 999 const char kSyncAutofill[] = "sync.autofill"; |
| 1000 const char kSyncAutofill_profile[] = "sync.autofillprofile"; |
1000 const char kSyncThemes[] = "sync.themes"; | 1001 const char kSyncThemes[] = "sync.themes"; |
1001 const char kSyncTypedUrls[] = "sync.typed_urls"; | 1002 const char kSyncTypedUrls[] = "sync.typed_urls"; |
1002 const char kSyncExtensions[] = "sync.extensions"; | 1003 const char kSyncExtensions[] = "sync.extensions"; |
1003 const char kSyncSessions[] = "sync.sessions"; | 1004 const char kSyncSessions[] = "sync.sessions"; |
1004 | 1005 |
1005 // Boolean used by enterprise configuration management in order to lock down | 1006 // Boolean used by enterprise configuration management in order to lock down |
1006 // sync. | 1007 // sync. |
1007 const char kSyncManaged[] = "sync.managed"; | 1008 const char kSyncManaged[] = "sync.managed"; |
1008 | 1009 |
1009 // Boolean to prevent sync from automatically starting up. This is | 1010 // Boolean to prevent sync from automatically starting up. This is |
1010 // used when sync is disabled by the user via the privacy dashboard. | 1011 // used when sync is disabled by the user via the privacy dashboard. |
1011 const char kSyncSuppressStart[] = "sync.suppress_start"; | 1012 const char kSyncSuppressStart[] = "sync.suppress_start"; |
1012 | 1013 |
1013 // Boolean to reperesent if sync credentials have been migrated from the | 1014 // Boolean to reperesent if sync credentials have been migrated from the |
1014 // user settings DB to the token service. | 1015 // user settings DB to the token service. |
1015 const char kSyncCredentialsMigrated[] = "sync.credentials_migrated"; | 1016 const char kSyncCredentialsMigrated[] = "sync.credentials_migrated"; |
1016 | 1017 |
| 1018 // Boolean to represent whether the legacy autofill profile data has been |
| 1019 // migrated to the new model. |
| 1020 const char kAutofillProfileMigrated[] = "sync.autofill_migrated"; |
| 1021 |
1017 // A string that can be used to restore sync encryption infrastructure on | 1022 // A string that can be used to restore sync encryption infrastructure on |
1018 // startup so that the user doesn't need to provide credentials on each start. | 1023 // startup so that the user doesn't need to provide credentials on each start. |
1019 const char kEncryptionBootstrapToken[] = "sync.encryption_bootstrap_token"; | 1024 const char kEncryptionBootstrapToken[] = "sync.encryption_bootstrap_token"; |
1020 | 1025 |
1021 // Boolean tracking whether the user chose to specify a secondary encryption | 1026 // Boolean tracking whether the user chose to specify a secondary encryption |
1022 // passphrase. | 1027 // passphrase. |
1023 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; | 1028 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; |
1024 | 1029 |
1025 // String that identifies the user logged into sync and other google services. | 1030 // String that identifies the user logged into sync and other google services. |
1026 const char kGoogleServicesUsername[] = "google.services.username"; | 1031 const char kGoogleServicesUsername[] = "google.services.username"; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 const char kManagedDefaultPluginsSetting[] = | 1128 const char kManagedDefaultPluginsSetting[] = |
1124 "profile.managed_default_content_settings.plugins"; | 1129 "profile.managed_default_content_settings.plugins"; |
1125 const char kManagedDefaultPopupsSetting[] = | 1130 const char kManagedDefaultPopupsSetting[] = |
1126 "profile.managed_default_content_settings.popups"; | 1131 "profile.managed_default_content_settings.popups"; |
1127 | 1132 |
1128 // Dictionary for storing the set of known background pages (keys are extension | 1133 // Dictionary for storing the set of known background pages (keys are extension |
1129 // IDs of background page owners, value is a boolean that is true if the user | 1134 // IDs of background page owners, value is a boolean that is true if the user |
1130 // needs to acknowledge this page. | 1135 // needs to acknowledge this page. |
1131 const char kKnownBackgroundPages[] = "background_pages.known"; | 1136 const char kKnownBackgroundPages[] = "background_pages.known"; |
1132 } // namespace prefs | 1137 } // namespace prefs |
OLD | NEW |