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

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

Issue 10451060: sync: migrate invalidation state from syncable::Directory to InvalidationStorage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include order 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
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 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1547 1547
1548 // Dictionary from sync model type (as an int) to max invalidation 1548 // Dictionary from sync model type (as an int) to max invalidation
1549 // version (int64 represented as a string). 1549 // version (int64 represented as a string).
1550 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions"; 1550 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions";
1551 1551
1552 // The GUID session sync will use to identify this client, even across sync 1552 // The GUID session sync will use to identify this client, even across sync
1553 // disable/enable events. 1553 // disable/enable events.
1554 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; 1554 const char kSyncSessionsGUID[] = "sync.session_sync_guid";
1555 1555
1556 // Opaque state from the invalidation subsystem that is persisted via prefs. 1556 // Opaque state from the invalidation subsystem that is persisted via prefs.
1557 // The value is base 64 encoded.
1557 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; 1558 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state";
1558 1559
1559 // A string that can be used to restore sync encryption infrastructure on 1560 // A string that can be used to restore sync encryption infrastructure on
1560 // startup so that the user doesn't need to provide credentials on each start. 1561 // startup so that the user doesn't need to provide credentials on each start.
1561 const char kSyncEncryptionBootstrapToken[] = 1562 const char kSyncEncryptionBootstrapToken[] =
1562 "sync.encryption_bootstrap_token"; 1563 "sync.encryption_bootstrap_token";
1563 1564
1564 // Boolean tracking whether the user chose to specify a secondary encryption 1565 // Boolean tracking whether the user chose to specify a secondary encryption
1565 // passphrase. 1566 // passphrase.
1566 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; 1567 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase";
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1901 const char kInManagedMode[] = "managed_mode"; 1902 const char kInManagedMode[] = "managed_mode";
1902 1903
1903 // Counts how many more times the 'profile on a network share' warning should be 1904 // Counts how many more times the 'profile on a network share' warning should be
1904 // shown to the user before the next silence period. 1905 // shown to the user before the next silence period.
1905 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1906 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1906 // Tracks the time of the last shown warning. Used to reset 1907 // Tracks the time of the last shown warning. Used to reset
1907 // |network_profile.warnings_left| after a silence period. 1908 // |network_profile.warnings_left| after a silence period.
1908 const char kNetworkProfileLastWarningTime[] = 1909 const char kNetworkProfileLastWarningTime[] =
1909 "network_profile.last_warning_time"; 1910 "network_profile.last_warning_time";
1910 } // namespace prefs 1911 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/browser/sync/invalidations/invalidator_storage_unittest.cc ('k') | sync/internal_api/sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698