| Index: components/sync/model/fake_model_type_change_processor.cc
|
| diff --git a/components/sync/model/fake_model_type_change_processor.cc b/components/sync/model/fake_model_type_change_processor.cc
|
| index d415437937139d3ab7d9dc15dcb0c05e763f082d..a71df0f3f5aff2455f1af2b4cc4db1615ec1b168 100644
|
| --- a/components/sync/model/fake_model_type_change_processor.cc
|
| +++ b/components/sync/model/fake_model_type_change_processor.cc
|
| @@ -8,7 +8,6 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "components/sync/model/metadata_batch.h"
|
| #include "components/sync/model/model_type_sync_bridge.h"
|
| -#include "components/sync/model/sync_error.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace syncer {
|
| @@ -40,10 +39,10 @@ void FakeModelTypeChangeProcessor::OnMetadataLoaded(
|
| std::unique_ptr<MetadataBatch> batch) {}
|
|
|
| void FakeModelTypeChangeProcessor::OnSyncStarting(
|
| - std::unique_ptr<DataTypeErrorHandler> error_handler,
|
| + const ModelErrorHandler& error_handler,
|
| const StartCallback& callback) {
|
| if (!callback.is_null()) {
|
| - callback.Run(SyncError(), nullptr);
|
| + callback.Run(nullptr);
|
| }
|
| }
|
|
|
|
|