#include "components/sync_device_info/local_device_info_provider_impl.h"
#include "base/trace_event/trace_event.h"
#include "components/sync/base/sync_util.h"
#include "components/sync_device_info/device_info_sync_client.h"
#include "components/sync_device_info/device_info_util.h"
#include "components/sync_device_info/local_device_info_util.h"
namespace syncer {
LocalDeviceInfoProviderImpl::LocalDeviceInfoProviderImpl(
version_info::Channel channel,
const std::string& version,
const DeviceInfoSyncClient* sync_client)
: … { … }
LocalDeviceInfoProviderImpl::~LocalDeviceInfoProviderImpl() { … }
version_info::Channel LocalDeviceInfoProviderImpl::GetChannel() const { … }
const DeviceInfo* LocalDeviceInfoProviderImpl::GetLocalDeviceInfo() const { … }
base::CallbackListSubscription
LocalDeviceInfoProviderImpl::RegisterOnInitializedCallback(
const base::RepeatingClosure& callback) { … }
bool LocalDeviceInfoProviderImpl::IsUmaEnabledOnCrOSDevice() const { … }
void LocalDeviceInfoProviderImpl::Initialize(
const std::string& cache_guid,
const std::string& client_name,
const std::string& manufacturer_name,
const std::string& model_name,
const std::string& full_hardware_class,
const DeviceInfo* device_info_restored_from_store) { … }
void LocalDeviceInfoProviderImpl::Clear() { … }
void LocalDeviceInfoProviderImpl::UpdateClientName(
const std::string& client_name) { … }
void LocalDeviceInfoProviderImpl::UpdateRecentSignInTime(base::Time time) { … }
}