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

Unified Diff: sync/engine/worker_entity_tracker.h

Issue 1893813002: [Sync] Adjust new entity version before commit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DeviceInfoFixes
Patch Set: Rebase Created 4 years, 8 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/model_type_worker_unittest.cc ('k') | sync/engine/worker_entity_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/worker_entity_tracker.h
diff --git a/sync/engine/worker_entity_tracker.h b/sync/engine/worker_entity_tracker.h
index 0f3a337f6ea129d927355750535b16f342a4aed2..fd8645a757201fb0e6e9a18542e1e112462f6042 100644
--- a/sync/engine/worker_entity_tracker.h
+++ b/sync/engine/worker_entity_tracker.h
@@ -45,8 +45,8 @@ class SYNC_EXPORT WorkerEntityTracker {
// Populates a sync_pb::SyncEntity for a commit. Also sets the
// |sequence_number|, so we can track it throughout the commit process.
- void PrepareCommitProto(sync_pb::SyncEntity* commit_entity,
- int64_t* sequence_number) const;
+ void PopulateCommitProto(sync_pb::SyncEntity* commit_entity,
+ int64_t* sequence_number) const;
// Updates this entity with data from the latest version that the
// model asked us to commit. May clobber state related to the
« no previous file with comments | « sync/engine/model_type_worker_unittest.cc ('k') | sync/engine/worker_entity_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698