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

Unified Diff: sync/notifier/unacked_invalidation_storage_test_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
Index: sync/notifier/unacked_invalidation_storage_test_util.h
diff --git a/sync/notifier/unacked_invalidation_storage_test_util.h b/sync/notifier/unacked_invalidation_storage_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..43e69c4cf4917652244ecbea677d05ffb0627a44
--- /dev/null
+++ b/sync/notifier/unacked_invalidation_storage_test_util.h
@@ -0,0 +1,23 @@
+// Copyright (c) 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.
+
+#ifndef SYNC_NOTIFIER_UNACKED_INVALIDATION_STORAGE_TEST_UTIL_H_
+#define SYNC_NOTIFIER_UNACKED_INVALIDATION_STORAGE_TEST_UTIL_H_
+
+// Convince googletest to use the correct overload for PrintTo().
+#include "sync/internal_api/public/base/invalidation_test_util.h"
+#include "sync/notifier/unacked_invalidation_storage.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+namespace syncer {
+
+void PrintTo(
+ const UnackedInvalidationStorageMap& invalidation, ::std::ostream* os);
+
+::testing::Matcher<const UnackedInvalidationStorageMap&> Eq(
+ const UnackedInvalidationStorageMap& expected);
+
+} // namespace syncer
+
+#endif // SYNC_NOTIFIER_UNACKED_INVALIDATION_STORAGE_TEST_UTIL_H_
« no previous file with comments | « sync/notifier/unacked_invalidation_storage.cc ('k') | sync/notifier/unacked_invalidation_storage_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698