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

Side by Side Diff: components/sync/base/model_type_test_util.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. Created 4 years, 2 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
« no previous file with comments | « components/sync/base/immutable_unittest.cc ('k') | components/sync/base/nigori_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/sync/base/model_type_test_util.h"
6
5 #include "base/macros.h" 7 #include "base/macros.h"
6 #include "components/sync/base/model_type_test_util.h"
7 8
8 namespace syncer { 9 namespace syncer {
9 10
10 void PrintTo(ModelTypeSet model_types, ::std::ostream* os) { 11 void PrintTo(ModelTypeSet model_types, ::std::ostream* os) {
11 *os << ModelTypeSetToString(model_types); 12 *os << ModelTypeSetToString(model_types);
12 } 13 }
13 14
14 namespace { 15 namespace {
15 16
16 // Matcher implementation for HasModelTypes(). 17 // Matcher implementation for HasModelTypes().
(...skipping 24 matching lines...) Expand all
41 DISALLOW_COPY_AND_ASSIGN(HasModelTypesMatcher); 42 DISALLOW_COPY_AND_ASSIGN(HasModelTypesMatcher);
42 }; 43 };
43 44
44 } // namespace 45 } // namespace
45 46
46 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types) { 47 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types) {
47 return ::testing::MakeMatcher(new HasModelTypesMatcher(expected_types)); 48 return ::testing::MakeMatcher(new HasModelTypesMatcher(expected_types));
48 } 49 }
49 50
50 } // namespace syncer 51 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/base/immutable_unittest.cc ('k') | components/sync/base/nigori_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698