Index: components/sync/api/fake_model_type_change_processor.cc |
diff --git a/components/sync/api/fake_model_type_change_processor.cc b/components/sync/api/fake_model_type_change_processor.cc |
deleted file mode 100644 |
index ee1bed8e9fe4e8f258c400d58b37a07bd7184d53..0000000000000000000000000000000000000000 |
--- a/components/sync/api/fake_model_type_change_processor.cc |
+++ /dev/null |
@@ -1,54 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "components/sync/api/fake_model_type_change_processor.h" |
- |
-#include "base/callback.h" |
-#include "base/memory/ptr_util.h" |
-#include "components/sync/api/metadata_batch.h" |
-#include "components/sync/api/model_type_service.h" |
-#include "components/sync/api/sync_error.h" |
- |
-namespace syncer { |
- |
-// static |
-std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create( |
- ModelType type, |
- ModelTypeService* service) { |
- return base::WrapUnique(new FakeModelTypeChangeProcessor()); |
-} |
- |
-FakeModelTypeChangeProcessor::FakeModelTypeChangeProcessor() {} |
-FakeModelTypeChangeProcessor::~FakeModelTypeChangeProcessor() {} |
- |
-void FakeModelTypeChangeProcessor::Put( |
- const std::string& client_tag, |
- std::unique_ptr<EntityData> entity_data, |
- MetadataChangeList* metadata_change_list) {} |
- |
-void FakeModelTypeChangeProcessor::Delete( |
- const std::string& client_tag, |
- MetadataChangeList* metadata_change_list) {} |
- |
-void FakeModelTypeChangeProcessor::OnMetadataLoaded( |
- SyncError error, |
- std::unique_ptr<MetadataBatch> batch) {} |
- |
-void FakeModelTypeChangeProcessor::OnSyncStarting( |
- std::unique_ptr<DataTypeErrorHandler> error_handler, |
- const StartCallback& callback) { |
- if (!callback.is_null()) { |
- callback.Run(SyncError(), nullptr); |
- } |
-} |
- |
-void FakeModelTypeChangeProcessor::DisableSync() {} |
- |
-SyncError FakeModelTypeChangeProcessor::CreateAndUploadError( |
- const tracked_objects::Location& location, |
- const std::string& message) { |
- return SyncError(); |
-} |
- |
-} // namespace syncer |