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

Unified Diff: sync/engine/all_status.cc

Issue 12092091: Separate sync and invalidation client IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/engine/all_status.h ('k') | sync/engine/sync_scheduler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/all_status.cc
diff --git a/sync/engine/all_status.cc b/sync/engine/all_status.cc
index 24ab03a839e7088a5b15875e532f51b681efb70f..a502b343552d9e9dc5b958b52faf8dc53ad794ba 100644
--- a/sync/engine/all_status.cc
+++ b/sync/engine/all_status.cc
@@ -164,9 +164,15 @@ void AllStatus::SetKeystoreMigrationTime(const base::Time& migration_time) {
status_.keystore_migration_time = migration_time;
}
-void AllStatus::SetUniqueId(const std::string& guid) {
+void AllStatus::SetSyncId(const std::string& sync_id) {
ScopedStatusLock lock(this);
- status_.unique_id = guid;
+ status_.sync_id = sync_id;
+}
+
+void AllStatus::SetInvalidatorClientId(
+ const std::string& invalidator_client_id) {
+ ScopedStatusLock lock(this);
+ status_.invalidator_client_id = invalidator_client_id;
}
void AllStatus::IncrementNudgeCounter(NudgeSource source) {
« no previous file with comments | « sync/engine/all_status.h ('k') | sync/engine/sync_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698