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

Side by Side Diff: components/sync/api/model_type_service.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/api/model_type_service.h" 5 #include "components/sync/api/model_type_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "components/sync/api/data_type_error_handler.h"
10 #include "components/sync/api/model_type_change_processor.h"
11
12 namespace syncer_v2 { 9 namespace syncer_v2 {
13 10
14 ModelTypeService::ModelTypeService( 11 ModelTypeService::ModelTypeService(
15 const ChangeProcessorFactory& change_processor_factory, 12 const ChangeProcessorFactory& change_processor_factory,
16 syncer::ModelType type) 13 syncer::ModelType type)
17 : change_processor_factory_(change_processor_factory), type_(type) {} 14 : change_processor_factory_(change_processor_factory), type_(type) {}
18 15
19 ModelTypeService::~ModelTypeService() {} 16 ModelTypeService::~ModelTypeService() {}
20 17
21 ConflictResolution ModelTypeService::ResolveConflict( 18 ConflictResolution ModelTypeService::ResolveConflict(
(...skipping 30 matching lines...) Expand all
52 49
53 ModelTypeChangeProcessor* ModelTypeService::change_processor() const { 50 ModelTypeChangeProcessor* ModelTypeService::change_processor() const {
54 return change_processor_.get(); 51 return change_processor_.get();
55 } 52 }
56 53
57 void ModelTypeService::clear_change_processor() { 54 void ModelTypeService::clear_change_processor() {
58 change_processor_.reset(); 55 change_processor_.reset();
59 } 56 }
60 57
61 } // namespace syncer_v2 58 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « components/sync/api/fake_model_type_service.cc ('k') | components/sync/api/stub_model_type_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698