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

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

Issue 10451058: sync: move invalidation version prefs out of SyncPrefs into InvalidatorStorage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 6 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/notifier/chrome_invalidation_client_unittest.cc » ('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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; 1544 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types";
1545 1545
1546 // Dictionary from sync model type (as an int) to max invalidation 1546 // Dictionary from sync model type (as an int) to max invalidation
1547 // version (int64 represented as a string). 1547 // version (int64 represented as a string).
1548 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions"; 1548 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions";
1549 1549
1550 // The GUID session sync will use to identify this client, even across sync 1550 // The GUID session sync will use to identify this client, even across sync
1551 // disable/enable events. 1551 // disable/enable events.
1552 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; 1552 const char kSyncSessionsGUID[] = "sync.session_sync_guid";
1553 1553
1554 // Opaque state from the invalidation subsystem that is persisted via prefs.
1555 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state";
1556
1554 // A string that can be used to restore sync encryption infrastructure on 1557 // A string that can be used to restore sync encryption infrastructure on
1555 // startup so that the user doesn't need to provide credentials on each start. 1558 // startup so that the user doesn't need to provide credentials on each start.
1556 const char kSyncEncryptionBootstrapToken[] = 1559 const char kSyncEncryptionBootstrapToken[] =
1557 "sync.encryption_bootstrap_token"; 1560 "sync.encryption_bootstrap_token";
1558 1561
1559 // Boolean tracking whether the user chose to specify a secondary encryption 1562 // Boolean tracking whether the user chose to specify a secondary encryption
1560 // passphrase. 1563 // passphrase.
1561 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; 1564 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase";
1562 1565
1563 // String that identifies the user logged into sync and other google services. 1566 // String that identifies the user logged into sync and other google services.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1886 const char kInManagedMode[] = "managed_mode"; 1889 const char kInManagedMode[] = "managed_mode";
1887 1890
1888 // Counts how many more times the 'profile on a network share' warning should be 1891 // Counts how many more times the 'profile on a network share' warning should be
1889 // shown to the user before the next silence period. 1892 // shown to the user before the next silence period.
1890 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1893 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1891 // Tracks the time of the last shown warning. Used to reset 1894 // Tracks the time of the last shown warning. Used to reset
1892 // |network_profile.warnings_left| after a silence period. 1895 // |network_profile.warnings_left| after a silence period.
1893 const char kNetworkProfileLastWarningTime[] = 1896 const char kNetworkProfileLastWarningTime[] =
1894 "network_profile.last_warning_time"; 1897 "network_profile.last_warning_time";
1895 } // namespace prefs 1898 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | sync/notifier/chrome_invalidation_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698