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