[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / components / invalidation / unacked_invalidation_set_test_util.h
blob4adbb56c6f4e068e4d51cf0a39992d304b433712
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_UNACKED_INVALIDATION_SET_TEST_UTIL_H_
6 #define COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_
8 #include "components/invalidation/unacked_invalidation_set.h"
10 #include "testing/gmock/include/gmock/gmock-matchers.h"
12 namespace syncer {
14 namespace test_util {
16 void PrintTo(const UnackedInvalidationSet& invalidations, ::std::ostream* os);
18 void PrintTo(const UnackedInvalidationsMap& map, ::std::ostream* os);
20 ::testing::Matcher<const UnackedInvalidationSet&> Eq(
21 const UnackedInvalidationSet& expected);
23 ::testing::Matcher<const UnackedInvalidationsMap&> Eq(
24 const UnackedInvalidationsMap& expected);
26 } // namespace test_util
28 } // namespace syncer
30 #endif // COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_