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

Unified Diff: sync/notifier/object_id_invalidation_map.h

Issue 56113003: Implement new invalidations ack tracking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modify drive TODO comment + rebase Created 7 years, 1 month 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/notifier/non_blocking_invalidator_unittest.cc ('k') | sync/notifier/object_id_invalidation_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/object_id_invalidation_map.h
diff --git a/sync/notifier/object_id_invalidation_map.h b/sync/notifier/object_id_invalidation_map.h
index c17e101e83505e41c8b82fdb76fb5ae5edd1b0ac..3494a62aa2a9d9d6898077503a35c15fb67180ad 100644
--- a/sync/notifier/object_id_invalidation_map.h
+++ b/sync/notifier/object_id_invalidation_map.h
@@ -49,6 +49,9 @@ class SYNC_EXPORT ObjectIdInvalidationMap {
// Returns the contents of this map in a single vector.
void GetAllInvalidations(std::vector<syncer::Invalidation>* out) const;
+ // Call Acknowledge() on all contained Invalidations.
+ void AcknowledgeAll() const;
+
// Serialize this map to a value.
scoped_ptr<base::ListValue> ToValue() const;
« no previous file with comments | « sync/notifier/non_blocking_invalidator_unittest.cc ('k') | sync/notifier/object_id_invalidation_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698