summaryrefslogtreecommitdiffstats
path: root/sync/notifier/object_id_invalidation_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/notifier/object_id_invalidation_map.cc')
-rw-r--r--sync/notifier/object_id_invalidation_map.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sync/notifier/object_id_invalidation_map.cc b/sync/notifier/object_id_invalidation_map.cc
index 47b08e6..3dc7514 100644
--- a/sync/notifier/object_id_invalidation_map.cc
+++ b/sync/notifier/object_id_invalidation_map.cc
@@ -22,10 +22,11 @@ ObjectIdSet ObjectIdInvalidationMapToSet(
}
ObjectIdInvalidationMap ObjectIdSetToInvalidationMap(
- const ObjectIdSet& ids, const std::string& payload) {
+ const ObjectIdSet& ids, int64 version, const std::string& payload) {
ObjectIdInvalidationMap invalidation_map;
for (ObjectIdSet::const_iterator it = ids.begin(); it != ids.end(); ++it) {
// TODO(dcheng): Do we need to provide a way to set AckHandle?
+ invalidation_map[*it].version = version;
invalidation_map[*it].payload = payload;
}
return invalidation_map;