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

Unified Diff: sync/notifier/invalidation_util.h

Issue 23754021: Invalidation trickles mega-patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/invalidation_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidation_util.h
diff --git a/sync/notifier/invalidation_util.h b/sync/notifier/invalidation_util.h
index 670f61209ea1cae00fbf011b3a398fd001c408c3..49bbd34fe3c71b52bca406e2c27614cc89ec7371 100644
--- a/sync/notifier/invalidation_util.h
+++ b/sync/notifier/invalidation_util.h
@@ -12,7 +12,9 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "google/cacheinvalidation/include/types.h"
#include "sync/base/sync_export.h"
+#include "sync/internal_api/public/base/invalidation.h"
#include "sync/internal_api/public/base/model_type.h"
namespace base {
@@ -22,7 +24,6 @@ class DictionaryValue;
namespace invalidation {
class Invalidation;
-class ObjectId;
// Gmock print helper
SYNC_EXPORT_PRIVATE void PrintTo(const invalidation::ObjectId& id,
@@ -37,6 +38,11 @@ struct SYNC_EXPORT ObjectIdLessThan {
const invalidation::ObjectId& rhs) const;
};
+struct InvalidationVersionLessThan {
+ bool operator()(const syncer::Invalidation& a,
+ const syncer::Invalidation& b) const;
+};
+
typedef std::set<invalidation::ObjectId, ObjectIdLessThan> ObjectIdSet;
SYNC_EXPORT bool RealModelTypeToObjectId(ModelType model_type,
« no previous file with comments | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/invalidation_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698