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.
4
5#ifndef COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_
6#define COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_
7
8#include <iosfwd>
9
10#include "testing/gmock/include/gmock/gmock.h"
11
12namespace syncer {
13
14class AckHandle;
15class Invalidation;
16
17void PrintTo(const AckHandle& ack_handle, ::std::ostream* os);
18::testing::Matcher<const AckHandle&> Eq(const AckHandle& expected);
19
20void PrintTo(const Invalidation& invalidation, ::std::ostream* os);
21
22::testing::Matcher<const Invalidation&> Eq(const Invalidation& expected);
23
24}  // namespace syncer
25
26#endif  // COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_
27