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

Unified Diff: sync/notifier/object_id_state_map_test_util.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 4 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/object_id_state_map.cc ('k') | sync/notifier/object_id_state_map_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/object_id_state_map_test_util.h
diff --git a/sync/notifier/object_id_state_map_test_util.h b/sync/notifier/object_id_state_map_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..7b26b93c63b81d74d0f3a8a315b836053ff377a2
--- /dev/null
+++ b/sync/notifier/object_id_state_map_test_util.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 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_OBJECT_ID_STATE_MAP_TEST_UTILH_
+#define SYNC_NOTIFIER_OBJECT_ID_STATE_MAP_TEST_UTILH_
+
+// Convince googletest to use the correct overload for PrintTo().
+#include "sync/internal_api/public/base/invalidation_state_test_util.h"
+#include "sync/notifier/object_id_state_map.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+namespace syncer {
+
+::testing::Matcher<const ObjectIdStateMap&> Eq(
+ const ObjectIdStateMap& expected);
+
+} // namespace syncer
+
+#endif // SYNC_NOTIFIER_OBJECT_ID_STATE_MAP_TEST_UTILH_
« no previous file with comments | « sync/notifier/object_id_state_map.cc ('k') | sync/notifier/object_id_state_map_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698