| Index: components/sync_driver/non_blocking_data_type_controller.cc
|
| diff --git a/components/sync_driver/non_blocking_data_type_controller.cc b/components/sync_driver/non_blocking_data_type_controller.cc
|
| index c7c417cddfd612570c9f989e37e26bfd32513c8e..9db8d623dd5fda0d3faf16db4cc4ee47b71b6769 100644
|
| --- a/components/sync_driver/non_blocking_data_type_controller.cc
|
| +++ b/components/sync_driver/non_blocking_data_type_controller.cc
|
| @@ -7,8 +7,8 @@
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/location.h"
|
| -#include "sync/engine/model_type_processor_impl.h"
|
| #include "sync/internal_api/public/activation_context.h"
|
| +#include "sync/internal_api/public/shared_model_type_processor.h"
|
|
|
| namespace sync_driver_v2 {
|
|
|
| @@ -26,7 +26,7 @@ NonBlockingDataTypeController::~NonBlockingDataTypeController() {}
|
|
|
| void NonBlockingDataTypeController::InitializeType(
|
| const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
|
| - const base::WeakPtr<syncer_v2::ModelTypeProcessorImpl>& type_processor) {
|
| + const base::WeakPtr<syncer_v2::SharedModelTypeProcessor>& type_processor) {
|
| DCHECK(!IsSyncProxyConnected());
|
| model_task_runner_ = task_runner;
|
| type_processor_ = type_processor;
|
| @@ -99,8 +99,8 @@ void NonBlockingDataTypeController::SendDisableSignal() {
|
| DCHECK_EQ(DISABLED, GetDesiredState());
|
| DVLOG(1) << "Disabling non-blocking sync type " << ModelTypeToString(type_);
|
| model_task_runner_->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&syncer_v2::ModelTypeProcessorImpl::Disable, type_processor_));
|
| + FROM_HERE, base::Bind(&syncer_v2::SharedModelTypeProcessor::Disable,
|
| + type_processor_));
|
| current_state_ = DISABLED;
|
| }
|
|
|
|
|