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

Side by Side Diff: components/sync/api/fake_model_type_change_processor.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/fake_model_type_change_processor.h" 5 #include "components/sync/api/fake_model_type_change_processor.h"
6 6
7 #include <memory>
8 #include <string>
9
10 #include "base/callback.h" 7 #include "base/callback.h"
11 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
12 #include "components/sync/api/metadata_batch.h" 9 #include "components/sync/api/metadata_batch.h"
13 #include "components/sync/api/metadata_change_list.h"
14 #include "components/sync/api/model_type_service.h" 10 #include "components/sync/api/model_type_service.h"
15 #include "components/sync/api/sync_error.h" 11 #include "components/sync/api/sync_error.h"
16 12
17 namespace syncer_v2 { 13 namespace syncer_v2 {
18 14
19 // static 15 // static
20 std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create( 16 std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create(
21 syncer::ModelType type, 17 syncer::ModelType type,
22 ModelTypeService* service) { 18 ModelTypeService* service) {
23 return base::WrapUnique(new FakeModelTypeChangeProcessor()); 19 return base::WrapUnique(new FakeModelTypeChangeProcessor());
(...skipping 25 matching lines...) Expand all
49 45
50 void FakeModelTypeChangeProcessor::DisableSync() {} 46 void FakeModelTypeChangeProcessor::DisableSync() {}
51 47
52 syncer::SyncError FakeModelTypeChangeProcessor::CreateAndUploadError( 48 syncer::SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
53 const tracked_objects::Location& location, 49 const tracked_objects::Location& location,
54 const std::string& message) { 50 const std::string& message) {
55 return syncer::SyncError(); 51 return syncer::SyncError();
56 } 52 }
57 53
58 } // namespace syncer_v2 54 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « components/sync/api/attachments/attachment_store.cc ('k') | components/sync/api/fake_model_type_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698