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/model/fake_model_type_change_processor.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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/model/fake_model_type_change_processor.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/sync/api/metadata_batch.h" 9 #include "components/sync/model/metadata_batch.h"
10 #include "components/sync/api/model_type_service.h" 10 #include "components/sync/model/model_type_service.h"
11 #include "components/sync/api/sync_error.h" 11 #include "components/sync/model/sync_error.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 // static 15 // static
16 std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create( 16 std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create(
17 ModelType type, 17 ModelType type,
18 ModelTypeService* service) { 18 ModelTypeService* service) {
19 return base::WrapUnique(new FakeModelTypeChangeProcessor()); 19 return base::WrapUnique(new FakeModelTypeChangeProcessor());
20 } 20 }
21 21
(...skipping 23 matching lines...) Expand all
45 45
46 void FakeModelTypeChangeProcessor::DisableSync() {} 46 void FakeModelTypeChangeProcessor::DisableSync() {}
47 47
48 SyncError FakeModelTypeChangeProcessor::CreateAndUploadError( 48 SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
49 const tracked_objects::Location& location, 49 const tracked_objects::Location& location,
50 const std::string& message) { 50 const std::string& message) {
51 return SyncError(); 51 return SyncError();
52 } 52 }
53 53
54 } // namespace syncer 54 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/model/fake_model_type_change_processor.h ('k') | components/sync/model/fake_model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698