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

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

Issue 23754021: Invalidation trickles mega-patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 const char kSyncManaged[] = "sync.managed"; 1799 const char kSyncManaged[] = "sync.managed";
1800 1800
1801 // Boolean to prevent sync from automatically starting up. This is 1801 // Boolean to prevent sync from automatically starting up. This is
1802 // used when sync is disabled by the user via the privacy dashboard. 1802 // used when sync is disabled by the user via the privacy dashboard.
1803 const char kSyncSuppressStart[] = "sync.suppress_start"; 1803 const char kSyncSuppressStart[] = "sync.suppress_start";
1804 1804
1805 // List of the currently acknowledged set of sync types, used to figure out 1805 // List of the currently acknowledged set of sync types, used to figure out
1806 // if a new sync type has rolled out so we can notify the user. 1806 // if a new sync type has rolled out so we can notify the user.
1807 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; 1807 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types";
1808 1808
1809 // Dictionary from sync model type (as an int) to max invalidation
1810 // version (int64 represented as a string).
1811 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions";
1812
1813 // The GUID session sync will use to identify this client, even across sync 1809 // The GUID session sync will use to identify this client, even across sync
1814 // disable/enable events. 1810 // disable/enable events.
1815 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; 1811 const char kSyncSessionsGUID[] = "sync.session_sync_guid";
1816 1812
1817 // An ID to uniquely identify this client to the invalidator service. 1813 // An ID to uniquely identify this client to the invalidator service.
1818 const char kInvalidatorClientId[] = "invalidator.client_id"; 1814 const char kInvalidatorClientId[] = "invalidator.client_id";
1819 1815
1820 // Opaque state from the invalidation subsystem that is persisted via prefs. 1816 // Opaque state from the invalidation subsystem that is persisted via prefs.
1821 // The value is base 64 encoded. 1817 // The value is base 64 encoded.
1822 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; 1818 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state";
1823 1819
1824 // List of {source, name, max invalidation version} tuples. source is an int, 1820 // List of received invalidations that have not been acted on by any clients
1825 // while max invalidation version is an int64; both are stored as string 1821 // yet. Used to keep invalidation clients in sync in case of a restart.
1826 // representations though. 1822 const char kInvalidatorSavedInvalidations[] = "invalidator.saved_invalidations";
1827 const char kInvalidatorMaxInvalidationVersions[] =
1828 "invalidator.max_invalidation_versions";
1829 1823
1830 // A string that can be used to restore sync encryption infrastructure on 1824 // A string that can be used to restore sync encryption infrastructure on
1831 // startup so that the user doesn't need to provide credentials on each start. 1825 // startup so that the user doesn't need to provide credentials on each start.
1832 const char kSyncEncryptionBootstrapToken[] = 1826 const char kSyncEncryptionBootstrapToken[] =
1833 "sync.encryption_bootstrap_token"; 1827 "sync.encryption_bootstrap_token";
1834 1828
1835 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, 1829 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key,
1836 // so we don't have to do a GetKey command at restart. 1830 // so we don't have to do a GetKey command at restart.
1837 const char kSyncKeystoreEncryptionBootstrapToken[] = 1831 const char kSyncKeystoreEncryptionBootstrapToken[] =
1838 "sync.keystore_encryption_bootstrap_token"; 1832 "sync.keystore_encryption_bootstrap_token";
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
2496 // ActivityLog initialization before the extension system is initialized. 2490 // ActivityLog initialization before the extension system is initialized.
2497 const char kWatchdogExtensionActive[] = 2491 const char kWatchdogExtensionActive[] =
2498 "profile.extensions.activity_log.watchdog_extension_active"; 2492 "profile.extensions.activity_log.watchdog_extension_active";
2499 2493
2500 // A dictionary pref which maps profile names to dictionary values which hold 2494 // A dictionary pref which maps profile names to dictionary values which hold
2501 // hashes of profile prefs that we track to detect changes that happen outside 2495 // hashes of profile prefs that we track to detect changes that happen outside
2502 // of Chrome. 2496 // of Chrome.
2503 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; 2497 const char kProfilePreferenceHashes[] = "profile.preference_hashes";
2504 2498
2505 } // namespace prefs 2499 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698