Index: sync/sessions/data_type_tracker.h |
diff --git a/sync/sessions/data_type_tracker.h b/sync/sessions/data_type_tracker.h |
index 30bc3b6dbbc88f6b0c268caad00dc72338d35760..6ecaa0eb7c881916baaf41e9c4a9218ca202e182 100644 |
--- a/sync/sessions/data_type_tracker.h |
+++ b/sync/sessions/data_type_tracker.h |
@@ -14,6 +14,10 @@ |
#include "sync/protocol/sync.pb.h" |
namespace syncer { |
+ |
+class Invalidation; |
+class SingleObjectInvalidationSet; |
+ |
namespace sessions { |
typedef std::deque<std::string> PayloadList; |
@@ -32,8 +36,9 @@ class DataTypeTracker { |
// Tracks that a local refresh request has been made for this type. |
void RecordLocalRefreshRequest(); |
- // Tracks that we received an invalidation notification for this type. |
- void RecordRemoteInvalidation(const std::string& payload); |
+ // Tracks that we received invalidation notifications for this type. |
+ void RecordRemoteInvalidations( |
+ const SingleObjectInvalidationSet& invalidations); |
// Records that a sync cycle has been performed successfully. |
// Generally, this means that all local changes have been committed and all |