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

Side by Side Diff: sync/syncable/model_type_test_util.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « sync/syncable/model_type_test_util.h ('k') | sync/syncable/model_type_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) 2011 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 "chrome/browser/sync/syncable/model_type_test_util.h" 5 #include "sync/syncable/model_type_test_util.h"
6 6
7 namespace syncable { 7 namespace syncable {
8 8
9 void PrintTo(ModelTypeSet model_types, ::std::ostream* os) { 9 void PrintTo(ModelTypeSet model_types, ::std::ostream* os) {
10 *os << ModelTypeSetToString(model_types); 10 *os << ModelTypeSetToString(model_types);
11 } 11 }
12 12
13 namespace { 13 namespace {
14 14
15 // Matcher implementation for HasModelTypes(). 15 // Matcher implementation for HasModelTypes().
(...skipping 27 matching lines...) Expand all
43 DISALLOW_COPY_AND_ASSIGN(HasModelTypesMatcher); 43 DISALLOW_COPY_AND_ASSIGN(HasModelTypesMatcher);
44 }; 44 };
45 45
46 } // namespace 46 } // namespace
47 47
48 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types) { 48 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types) {
49 return ::testing::MakeMatcher(new HasModelTypesMatcher(expected_types)); 49 return ::testing::MakeMatcher(new HasModelTypesMatcher(expected_types));
50 } 50 }
51 51
52 } // namespace syncable 52 } // namespace syncable
OLDNEW
« no previous file with comments | « sync/syncable/model_type_test_util.h ('k') | sync/syncable/model_type_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698