#include "components/sync/service/non_ui_syncable_service_based_data_type_controller.h"
#include <memory>
#include <string>
#include <utility>
#include "base/check_is_test.h"
#include "base/functional/bind.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "components/sync/base/data_type.h"
#include "components/sync/model/client_tag_based_data_type_processor.h"
#include "components/sync/model/forwarding_data_type_controller_delegate.h"
#include "components/sync/model/proxy_data_type_controller_delegate.h"
#include "components/sync/model/syncable_service_based_bridge.h"
namespace syncer {
namespace {
class FakeSyncableServiceBasedBridge : public DataTypeSyncBridge { … };
class BridgeBuilder { … };
struct CustomOnTaskRunnerDeleter { … };
ProxyDataTypeControllerDelegate::DelegateProvider BuildDelegateProvider(
DataType type,
OnceDataTypeStoreFactory store_factory,
NonUiSyncableServiceBasedDataTypeController::SyncableServiceProvider
syncable_service_provider,
const base::RepeatingClosure& dump_stack,
scoped_refptr<base::SequencedTaskRunner> task_runner) { … }
}
NonUiSyncableServiceBasedDataTypeController::
NonUiSyncableServiceBasedDataTypeController(
DataType type,
OnceDataTypeStoreFactory store_factory,
SyncableServiceProvider syncable_service_provider,
const base::RepeatingClosure& dump_stack,
scoped_refptr<base::SequencedTaskRunner> task_runner,
DelegateMode delegate_mode)
: … { … }
NonUiSyncableServiceBasedDataTypeController::
~NonUiSyncableServiceBasedDataTypeController() = default;
}