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

Unified Diff: sync/sessions/data_type_tracker.h

Issue 23441042: Refactor common invalidation framework types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 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
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..2d210a3359aebf997429b5096f4f923d1fcf412e 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 OrderedInvalidationList;
+
namespace sessions {
typedef std::deque<std::string> PayloadList;
@@ -32,8 +36,8 @@ 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 OrderedInvalidationList& invalidations);
// Records that a sync cycle has been performed successfully.
// Generally, this means that all local changes have been committed and all

Powered by Google App Engine
This is Rietveld 408576698