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

Unified Diff: sync/notifier/unacked_invalidation_set_test_util.h

Issue 56113003: Implement new invalidations ack tracking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: sync/notifier/unacked_invalidation_set_test_util.h
diff --git a/sync/notifier/unacked_invalidation_set_test_util.h b/sync/notifier/unacked_invalidation_set_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..e93726b28aa7d12fd49c90007392b72f04d2c436
--- /dev/null
+++ b/sync/notifier/unacked_invalidation_set_test_util.h
@@ -0,0 +1,25 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "sync/notifier/unacked_invalidation_set.h"
+
+#include "testing/gmock/include/gmock/gmock-matchers.h"
+
+namespace syncer {
+
+namespace test_util {
+
+void PrintTo(const UnackedInvalidationSet& invalidations, ::std::ostream* os);
+
+void PrintTo(const UnackedInvalidationsMap& map, ::std::ostream* os);
+
+::testing::Matcher<const UnackedInvalidationSet&> Eq(
+ const UnackedInvalidationSet& expected);
+
+::testing::Matcher<const UnackedInvalidationsMap&> Eq(
+ const UnackedInvalidationsMap& expected);
+
+} // namespace test_util
+
+} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698