| Index: components/sync/api/stub_model_type_service.h
|
| diff --git a/components/sync/api/fake_model_type_service.h b/components/sync/api/stub_model_type_service.h
|
| similarity index 78%
|
| copy from components/sync/api/fake_model_type_service.h
|
| copy to components/sync/api/stub_model_type_service.h
|
| index e02a5e17c47d687cbc78ae4b09b1a7744c191f61..f8c10f1c83f452058c2781184fc65c903bc761ce 100644
|
| --- a/components/sync/api/fake_model_type_service.h
|
| +++ b/components/sync/api/stub_model_type_service.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_SERVICE_H_
|
| -#define COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_SERVICE_H_
|
| +#ifndef COMPONENTS_SYNC_API_STUB_MODEL_TYPE_SERVICE_H_
|
| +#define COMPONENTS_SYNC_API_STUB_MODEL_TYPE_SERVICE_H_
|
|
|
| #include <memory>
|
| #include <string>
|
| @@ -14,12 +14,12 @@ namespace syncer_v2 {
|
|
|
| // A non-functional implementation of ModelTypeService for
|
| // testing purposes.
|
| -class FakeModelTypeService : public ModelTypeService {
|
| +class StubModelTypeService : public ModelTypeService {
|
| public:
|
| - FakeModelTypeService();
|
| - explicit FakeModelTypeService(
|
| + StubModelTypeService();
|
| + explicit StubModelTypeService(
|
| const ChangeProcessorFactory& change_processor_factory);
|
| - ~FakeModelTypeService() override;
|
| + ~StubModelTypeService() override;
|
|
|
| std::unique_ptr<MetadataChangeList> CreateMetadataChangeList() override;
|
| syncer::SyncError MergeSyncData(
|
| @@ -39,4 +39,4 @@ class FakeModelTypeService : public ModelTypeService {
|
|
|
| } // namespace syncer_v2
|
|
|
| -#endif // COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_SERVICE_H_
|
| +#endif // COMPONENTS_SYNC_API_STUB_MODEL_TYPE_SERVICE_H_
|
|
|