#include "components/sync_device_info/device_info_sync_service_impl.h"
#include <utility>
#include "base/functional/callback.h"
#include "components/sync/base/report_unrecoverable_error.h"
#include "components/sync/invalidations/sync_invalidations_service.h"
#include "components/sync/model/client_tag_based_data_type_processor.h"
#include "components/sync_device_info/device_info.h"
#include "components/sync_device_info/device_info_prefs.h"
#include "components/sync_device_info/device_info_sync_bridge.h"
#include "components/sync_device_info/device_info_sync_client.h"
#include "components/sync_device_info/device_info_tracker.h"
#include "components/sync_device_info/local_device_info_provider.h"
namespace syncer {
DeviceInfoSyncServiceImpl::DeviceInfoSyncServiceImpl(
OnceDataTypeStoreFactory data_type_store_factory,
std::unique_ptr<MutableLocalDeviceInfoProvider> local_device_info_provider,
std::unique_ptr<DeviceInfoPrefs> device_info_prefs,
std::unique_ptr<DeviceInfoSyncClient> device_info_sync_client,
SyncInvalidationsService* sync_invalidations_service)
: … { … }
DeviceInfoSyncServiceImpl::~DeviceInfoSyncServiceImpl() = default;
LocalDeviceInfoProvider*
DeviceInfoSyncServiceImpl::GetLocalDeviceInfoProvider() { … }
void DeviceInfoSyncServiceImpl::
SetCommittedAdditionalInterestedDataTypesCallback(
base::RepeatingCallback<void(const DataTypeSet&)> callback) { … }
DeviceInfoTracker* DeviceInfoSyncServiceImpl::GetDeviceInfoTracker() { … }
base::WeakPtr<DataTypeControllerDelegate>
DeviceInfoSyncServiceImpl::GetControllerDelegate() { … }
void DeviceInfoSyncServiceImpl::RefreshLocalDeviceInfo() { … }
void DeviceInfoSyncServiceImpl::OnFCMRegistrationTokenChanged() { … }
void DeviceInfoSyncServiceImpl::OnInterestedDataTypesChanged() { … }
void DeviceInfoSyncServiceImpl::Shutdown() { … }
}