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

Side by Side Diff: components/invalidation/impl/unacked_invalidation_set_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_UNACKED_INVALIDATION_SET_TEST_UTIL_H_ 5 #ifndef COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_TEST_UTIL_H_
6 #define COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_ 6 #define COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_TEST_UTIL_H_
7 7
8 #include "components/invalidation/unacked_invalidation_set.h" 8 #include "components/invalidation/impl/unacked_invalidation_set.h"
9 9
10 #include "testing/gmock/include/gmock/gmock-matchers.h" 10 #include "testing/gmock/include/gmock/gmock-matchers.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 namespace test_util { 14 namespace test_util {
15 15
16 void PrintTo(const UnackedInvalidationSet& invalidations, ::std::ostream* os); 16 void PrintTo(const UnackedInvalidationSet& invalidations, ::std::ostream* os);
17 17
18 void PrintTo(const UnackedInvalidationsMap& map, ::std::ostream* os); 18 void PrintTo(const UnackedInvalidationsMap& map, ::std::ostream* os);
19 19
20 ::testing::Matcher<const UnackedInvalidationSet&> Eq( 20 ::testing::Matcher<const UnackedInvalidationSet&> Eq(
21 const UnackedInvalidationSet& expected); 21 const UnackedInvalidationSet& expected);
22 22
23 ::testing::Matcher<const UnackedInvalidationsMap&> Eq( 23 ::testing::Matcher<const UnackedInvalidationsMap&> Eq(
24 const UnackedInvalidationsMap& expected); 24 const UnackedInvalidationsMap& expected);
25 25
26 } // namespace test_util 26 } // namespace test_util
27 27
28 } // namespace syncer 28 } // namespace syncer
29 29
30 #endif // COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_ 30 #endif // COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698