Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / invalidation / impl / invalidation_test_util.h
blobbd1ef114e9512fe5f0989cb2ce5e91359e3ecb02
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_IMPL_INVALIDATION_TEST_UTIL_H_
6 #define COMPONENTS_INVALIDATION_IMPL_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_IMPL_INVALIDATION_TEST_UTIL_H_