OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1842 const char kSyncManaged[] = "sync.managed"; | 1842 const char kSyncManaged[] = "sync.managed"; |
1843 | 1843 |
1844 // Boolean to prevent sync from automatically starting up. This is | 1844 // Boolean to prevent sync from automatically starting up. This is |
1845 // used when sync is disabled by the user via the privacy dashboard. | 1845 // used when sync is disabled by the user via the privacy dashboard. |
1846 const char kSyncSuppressStart[] = "sync.suppress_start"; | 1846 const char kSyncSuppressStart[] = "sync.suppress_start"; |
1847 | 1847 |
1848 // List of the currently acknowledged set of sync types, used to figure out | 1848 // List of the currently acknowledged set of sync types, used to figure out |
1849 // if a new sync type has rolled out so we can notify the user. | 1849 // if a new sync type has rolled out so we can notify the user. |
1850 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; | 1850 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; |
1851 | 1851 |
1852 // Dictionary from sync model type (as an int) to max invalidation | |
1853 // version (int64 represented as a string). | |
1854 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions"; | |
1855 | |
1856 // The GUID session sync will use to identify this client, even across sync | 1852 // The GUID session sync will use to identify this client, even across sync |
1857 // disable/enable events. | 1853 // disable/enable events. |
1858 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; | 1854 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; |
1859 | 1855 |
1860 // An ID to uniquely identify this client to the invalidator service. | 1856 // An ID to uniquely identify this client to the invalidator service. |
1861 const char kInvalidatorClientId[] = "invalidator.client_id"; | 1857 const char kInvalidatorClientId[] = "invalidator.client_id"; |
1862 | 1858 |
1863 // Opaque state from the invalidation subsystem that is persisted via prefs. | 1859 // Opaque state from the invalidation subsystem that is persisted via prefs. |
1864 // The value is base 64 encoded. | 1860 // The value is base 64 encoded. |
1865 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; | 1861 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; |
1866 | 1862 |
1867 // List of {source, name, max invalidation version} tuples. source is an int, | 1863 // List of received invalidations that have not been acted on by any clients |
1868 // while max invalidation version is an int64; both are stored as string | 1864 // yet. Used to keep invalidation clients in sync in case of a restart. |
1869 // representations though. | 1865 const char kInvalidatorSavedInvalidations[] = "invalidator.saved_invalidations"; |
1870 const char kInvalidatorMaxInvalidationVersions[] = | |
1871 "invalidator.max_invalidation_versions"; | |
1872 | 1866 |
1873 // A string that can be used to restore sync encryption infrastructure on | 1867 // A string that can be used to restore sync encryption infrastructure on |
1874 // startup so that the user doesn't need to provide credentials on each start. | 1868 // startup so that the user doesn't need to provide credentials on each start. |
1875 const char kSyncEncryptionBootstrapToken[] = | 1869 const char kSyncEncryptionBootstrapToken[] = |
1876 "sync.encryption_bootstrap_token"; | 1870 "sync.encryption_bootstrap_token"; |
1877 | 1871 |
1878 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, | 1872 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, |
1879 // so we don't have to do a GetKey command at restart. | 1873 // so we don't have to do a GetKey command at restart. |
1880 const char kSyncKeystoreEncryptionBootstrapToken[] = | 1874 const char kSyncKeystoreEncryptionBootstrapToken[] = |
1881 "sync.keystore_encryption_bootstrap_token"; | 1875 "sync.keystore_encryption_bootstrap_token"; |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2611 #if defined(OS_ANDROID) | 2605 #if defined(OS_ANDROID) |
2612 // A list of partner bookmark rename/remove mappings. | 2606 // A list of partner bookmark rename/remove mappings. |
2613 // Each list item is a dictionary containing a "url", a "provider_title" and | 2607 // Each list item is a dictionary containing a "url", a "provider_title" and |
2614 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2608 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2615 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2609 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2616 // title or an empty string if the bookmark node was removed. | 2610 // title or an empty string if the bookmark node was removed. |
2617 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2611 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2618 #endif | 2612 #endif |
2619 | 2613 |
2620 } // namespace prefs | 2614 } // namespace prefs |
OLD | NEW |