Roll src/third_party/WebKit a1ed6cd:9e03af6 (svn 190836:190842)
[chromium-blink-merge.git] / components / invalidation / invalidation_test_util.h
blobc0394949d4950c00d2662337dad9a2ba0af582d4
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_
6 #define COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_
8 #include <iosfwd>
10 #include "testing/gmock/include/gmock/gmock.h"
12 namespace syncer {
14 class AckHandle;
15 class Invalidation;
17 void PrintTo(const AckHandle& ack_handle, ::std::ostream* os);
18 ::testing::Matcher<const AckHandle&> Eq(const AckHandle& expected);
20 void PrintTo(const Invalidation& invalidation, ::std::ostream* os);
22 ::testing::Matcher<const Invalidation&> Eq(const Invalidation& expected);
24 } // namespace syncer
26 #endif // COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_