#include "components/sync_device_info/device_info_proto_enum_util.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/sync/protocol/sync_enums.pb.h"
#include "components/sync_device_info/device_info.h"
namespace syncer {
DeviceInfo::OsType DeriveOsFromDeviceType(
const sync_pb::SyncEnums_DeviceType& device_type,
const std::string& manufacturer_name) { … }
DeviceInfo::FormFactor DeriveFormFactorFromDeviceType(
const sync_pb::SyncEnums_DeviceType& device_type) { … }
syncer::DeviceInfo::FormFactor ToDeviceInfoFormFactor(
const sync_pb::SyncEnums::DeviceFormFactor& form_factor) { … }
sync_pb::SyncEnums_DeviceFormFactor ToDeviceFormFactorProto(
const syncer::DeviceInfo::FormFactor& form_factor) { … }
syncer::DeviceInfo::OsType ToDeviceInfoOsType(
const sync_pb::SyncEnums_OsType& os_type) { … }
sync_pb::SyncEnums_OsType ToOsTypeProto(const DeviceInfo::OsType& os_type) { … }
}