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

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

Issue 12094113: Migrate invalidator client IDs out of sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review-related changes Created 7 years, 10 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 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; 1707 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types";
1708 1708
1709 // Dictionary from sync model type (as an int) to max invalidation 1709 // Dictionary from sync model type (as an int) to max invalidation
1710 // version (int64 represented as a string). 1710 // version (int64 represented as a string).
1711 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions"; 1711 const char kSyncMaxInvalidationVersions[] = "sync.max_invalidation_versions";
1712 1712
1713 // The GUID session sync will use to identify this client, even across sync 1713 // The GUID session sync will use to identify this client, even across sync
1714 // disable/enable events. 1714 // disable/enable events.
1715 const char kSyncSessionsGUID[] = "sync.session_sync_guid"; 1715 const char kSyncSessionsGUID[] = "sync.session_sync_guid";
1716 1716
1717 // An ID to uniquely identify this client to the invalidator service.
1718 const char kInvalidatorClientId[] =
1719 "invalidator.client_id";
tim (not reviewing) 2013/02/05 22:05:28 nit - think this fits on the line above?
rlarocque 2013/02/05 22:16:45 Done.
1720
1717 // Opaque state from the invalidation subsystem that is persisted via prefs. 1721 // Opaque state from the invalidation subsystem that is persisted via prefs.
1718 // The value is base 64 encoded. 1722 // The value is base 64 encoded.
1719 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; 1723 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state";
1720 1724
1721 // List of {source, name, max invalidation version} tuples. source is an int, 1725 // List of {source, name, max invalidation version} tuples. source is an int,
1722 // while max invalidation version is an int64; both are stored as string 1726 // while max invalidation version is an int64; both are stored as string
1723 // representations though. 1727 // representations though.
1724 const char kInvalidatorMaxInvalidationVersions[] = 1728 const char kInvalidatorMaxInvalidationVersions[] =
1725 "invalidator.max_invalidation_versions"; 1729 "invalidator.max_invalidation_versions";
1726 1730
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
2227 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2231 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2228 2232
2229 #if defined(OS_CHROMEOS) 2233 #if defined(OS_CHROMEOS)
2230 // The RLZ brand code, if enabled. 2234 // The RLZ brand code, if enabled.
2231 const char kRLZBrand[] = "rlz.brand"; 2235 const char kRLZBrand[] = "rlz.brand";
2232 // Whether RLZ pings are disabled. 2236 // Whether RLZ pings are disabled.
2233 const char kRLZDisabled[] = "rlz.disabled"; 2237 const char kRLZDisabled[] = "rlz.disabled";
2234 #endif 2238 #endif
2235 2239
2236 } // namespace prefs 2240 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698