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

Unified Diff: sync/internal_api/public/base/invalidation_state_test_util.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge 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
Index: sync/internal_api/public/base/invalidation_state_test_util.h
diff --git a/sync/internal_api/public/base/invalidation_state_test_util.h b/sync/internal_api/public/base/invalidation_state_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..275ca28bd5b8cac3adfd53bb7e6c8b45b65e2158
--- /dev/null
+++ b/sync/internal_api/public/base/invalidation_state_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_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_TEST_UTIL_H_
+#define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_TEST_UTIL_H_
+
+#include "sync/internal_api/public/base/invalidation_state.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+namespace syncer {
+
+void PrintTo(const InvalidationState& state, ::std::ostream* os);
akalin 2012/08/22 22:24:31 #include <ostream>
dcheng 2012/08/22 22:53:19 Done.
+
+::testing::Matcher<const InvalidationState&> Eq(
+ const InvalidationState& expected);
+
+} // namespace syncer
+
+#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_TEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698