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

Side by Side Diff: components/invalidation/impl/invalidation_test_util.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_ 5 #ifndef COMPONENTS_INVALIDATION_IMPL_INVALIDATION_TEST_UTIL_H_
6 #define COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_ 6 #define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_TEST_UTIL_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 class AckHandle; 14 class AckHandle;
15 class Invalidation; 15 class Invalidation;
16 16
17 void PrintTo(const AckHandle& ack_handle, ::std::ostream* os); 17 void PrintTo(const AckHandle& ack_handle, ::std::ostream* os);
18 ::testing::Matcher<const AckHandle&> Eq(const AckHandle& expected); 18 ::testing::Matcher<const AckHandle&> Eq(const AckHandle& expected);
19 19
20 void PrintTo(const Invalidation& invalidation, ::std::ostream* os); 20 void PrintTo(const Invalidation& invalidation, ::std::ostream* os);
21 21
22 ::testing::Matcher<const Invalidation&> Eq(const Invalidation& expected); 22 ::testing::Matcher<const Invalidation&> Eq(const Invalidation& expected);
23 23
24 } // namespace syncer 24 } // namespace syncer
25 25
26 #endif // COMPONENTS_INVALIDATION_INVALIDATION_TEST_UTIL_H_ 26 #endif // COMPONENTS_INVALIDATION_IMPL_INVALIDATION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « components/invalidation/impl/invalidation_switches.cc ('k') | components/invalidation/impl/invalidation_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698