Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: chrome/common/pref_names.cc

Issue 56113003: Implement new invalidations ack tracking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 const char kSyncManaged[] = "sync.managed"; 1848 const char kSyncManaged[] = "sync.managed";
1849 1849
1850 // Boolean to prevent sync from automatically starting up. This is 1850 // Boolean to prevent sync from automatically starting up. This is
1851 // used when sync is disabled by the user via the privacy dashboard. 1851 // used when sync is disabled by the user via the privacy dashboard.
1852 const char kSyncSuppressStart[] = "sync.suppress_start"; 1852 const char kSyncSuppressStart[] = "sync.suppress_start";
1853 1853
1854 // List of the currently acknowledged set of sync types, used to figure out 1854 // List of the currently acknowledged set of sync types, used to figure out
1855 // if a new sync type has rolled out so we can notify the user. 1855 // if a new sync type has rolled out so we can notify the user.
1856 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; 1856 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types";
1857 1857
1858 // Dictionary from sync model type (as an int) to max invalidation
1859 // version (int64 represented as a string).
1860 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions";
1861
1862 // The GUID session sync will use to identify this client, even across sync 1858 // The GUID session sync will use to identify this client, even across sync
1863 // disable/enable events. 1859 // disable/enable events.
1864 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; 1860 const char kSyncSessionsGUID[] = "sync.session_sync_guid";
1865 1861
1866 // An ID to uniquely identify this client to the invalidator service. 1862 // An ID to uniquely identify this client to the invalidator service.
1867 const char kInvalidatorClientId[] = "invalidator.client_id"; 1863 const char kInvalidatorClientId[] = "invalidator.client_id";
1868 1864
1869 // Opaque state from the invalidation subsystem that is persisted via prefs. 1865 // Opaque state from the invalidation subsystem that is persisted via prefs.
1870 // The value is base 64 encoded. 1866 // The value is base 64 encoded.
1871 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; 1867 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state";
1872 1868
1873 // List of {source, name, max invalidation version} tuples. source is an int, 1869 // List of received invalidations that have not been acted on by any clients
1874 // while max invalidation version is an int64; both are stored as string 1870 // yet. Used to keep invalidation clients in sync in case of a restart.
1875 // representations though. 1871 const char kInvalidatorSavedInvalidations[] = "invalidator.saved_invalidations";
1876 const char kInvalidatorMaxInvalidationVersions[] =
1877 "invalidator.max_invalidation_versions";
1878 1872
1879 // A string that can be used to restore sync encryption infrastructure on 1873 // A string that can be used to restore sync encryption infrastructure on
1880 // startup so that the user doesn't need to provide credentials on each start. 1874 // startup so that the user doesn't need to provide credentials on each start.
1881 const char kSyncEncryptionBootstrapToken[] = 1875 const char kSyncEncryptionBootstrapToken[] =
1882 "sync.encryption_bootstrap_token"; 1876 "sync.encryption_bootstrap_token";
1883 1877
1884 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, 1878 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key,
1885 // so we don't have to do a GetKey command at restart. 1879 // so we don't have to do a GetKey command at restart.
1886 const char kSyncKeystoreEncryptionBootstrapToken[] = 1880 const char kSyncKeystoreEncryptionBootstrapToken[] =
1887 "sync.keystore_encryption_bootstrap_token"; 1881 "sync.keystore_encryption_bootstrap_token";
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 #if defined(OS_ANDROID) 2611 #if defined(OS_ANDROID)
2618 // A list of partner bookmark rename/remove mappings. 2612 // A list of partner bookmark rename/remove mappings.
2619 // Each list item is a dictionary containing a "url", a "provider_title" and 2613 // Each list item is a dictionary containing a "url", a "provider_title" and
2620 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2614 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2621 // given by the PartnerBookmarksProvider and either the user-visible renamed 2615 // given by the PartnerBookmarksProvider and either the user-visible renamed
2622 // title or an empty string if the bookmark node was removed. 2616 // title or an empty string if the bookmark node was removed.
2623 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2617 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2624 #endif 2618 #endif
2625 2619
2626 } // namespace prefs 2620 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698