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

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

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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 #include "components/invalidation/impl/invalidation_test_util.h" 5 #include "components/invalidation/impl/invalidation_test_util.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
9 #include "base/json/string_escape.h" 8 #include "base/json/string_escape.h"
9 #include "base/macros.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "components/invalidation/public/invalidation.h" 11 #include "components/invalidation/public/invalidation.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 using ::testing::MakeMatcher; 15 using ::testing::MakeMatcher;
16 using ::testing::MatchResultListener; 16 using ::testing::MatchResultListener;
17 using ::testing::Matcher; 17 using ::testing::Matcher;
18 using ::testing::MatcherInterface; 18 using ::testing::MatcherInterface;
19 using ::testing::PrintToString; 19 using ::testing::PrintToString;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 void PrintTo(const Invalidation& inv, ::std::ostream* os) { 111 void PrintTo(const Invalidation& inv, ::std::ostream* os) {
112 *os << "{ payload: " << inv.ToString() << " }"; 112 *os << "{ payload: " << inv.ToString() << " }";
113 } 113 }
114 114
115 Matcher<const Invalidation&> Eq(const Invalidation& expected) { 115 Matcher<const Invalidation&> Eq(const Invalidation& expected) {
116 return MakeMatcher(new InvalidationEqMatcher(expected)); 116 return MakeMatcher(new InvalidationEqMatcher(expected));
117 } 117 }
118 118
119 } // namespace syncer 119 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/impl/invalidation_state_tracker.h ('k') | components/invalidation/impl/invalidator_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698