| Index: components/arc/bluetooth/bluetooth_type_converters.h
|
| diff --git a/components/arc/bluetooth/bluetooth_type_converters.h b/components/arc/bluetooth/bluetooth_type_converters.h
|
| index 5c282dae78b523e4538f03f2f11d93b259c444e0..344fa06685bb1d991de81714f4ff9d5180cd2d8f 100644
|
| --- a/components/arc/bluetooth/bluetooth_type_converters.h
|
| +++ b/components/arc/bluetooth/bluetooth_type_converters.h
|
| @@ -12,6 +12,8 @@
|
|
|
| #include "components/arc/common/bluetooth.mojom.h"
|
| #include "device/bluetooth/bluetooth_gatt_service.h"
|
| +#include "device/bluetooth/bluez/bluetooth_service_attribute_value_bluez.h"
|
| +#include "device/bluetooth/bluez/bluetooth_service_record_bluez.h"
|
| #include "mojo/public/cpp/bindings/type_converter.h"
|
|
|
| namespace device {
|
| @@ -49,6 +51,34 @@ struct TypeConverter<arc::mojom::BluetoothGattStatus,
|
| const device::BluetoothGattService::GattErrorCode& error_code);
|
| };
|
|
|
| +template <>
|
| +struct TypeConverter<arc::mojom::BluetoothSdpServiceAttrPtr,
|
| + bluez::BluetoothServiceAttributeValueBlueZ> {
|
| + static arc::mojom::BluetoothSdpServiceAttrPtr Convert(
|
| + const bluez::BluetoothServiceAttributeValueBlueZ& attr_bluez);
|
| +};
|
| +
|
| +template <>
|
| +struct TypeConverter<bluez::BluetoothServiceAttributeValueBlueZ,
|
| + arc::mojom::BluetoothSdpServiceAttrPtr> {
|
| + static bluez::BluetoothServiceAttributeValueBlueZ Convert(
|
| + const arc::mojom::BluetoothSdpServiceAttrPtr& attr);
|
| +};
|
| +
|
| +template <>
|
| +struct TypeConverter<arc::mojom::BluetoothSdpRecordPtr,
|
| + bluez::BluetoothServiceRecordBlueZ> {
|
| + static arc::mojom::BluetoothSdpRecordPtr Convert(
|
| + const bluez::BluetoothServiceRecordBlueZ& rcd_bluez);
|
| +};
|
| +
|
| +template <>
|
| +struct TypeConverter<bluez::BluetoothServiceRecordBlueZ,
|
| + arc::mojom::BluetoothSdpRecordPtr> {
|
| + static bluez::BluetoothServiceRecordBlueZ Convert(
|
| + const arc::mojom::BluetoothSdpRecordPtr& rcd);
|
| +};
|
| +
|
| } // namespace mojo
|
|
|
| #endif // COMPONENTS_ARC_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
|
|
|