| 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 756edb28643c7f09f2bdf7a5effbfdb2ba61dac9..5c282dae78b523e4538f03f2f11d93b259c444e0 100644
|
| --- a/components/arc/bluetooth/bluetooth_type_converters.h
|
| +++ b/components/arc/bluetooth/bluetooth_type_converters.h
|
| @@ -11,6 +11,7 @@
|
| #include <utility>
|
|
|
| #include "components/arc/common/bluetooth.mojom.h"
|
| +#include "device/bluetooth/bluetooth_gatt_service.h"
|
| #include "mojo/public/cpp/bindings/type_converter.h"
|
|
|
| namespace device {
|
| @@ -35,6 +36,19 @@ struct TypeConverter<arc::mojom::BluetoothUUIDPtr, device::BluetoothUUID> {
|
| const device::BluetoothUUID& uuid);
|
| };
|
|
|
| +template <>
|
| +struct TypeConverter<device::BluetoothUUID, arc::mojom::BluetoothUUIDPtr> {
|
| + static device::BluetoothUUID Convert(
|
| + const arc::mojom::BluetoothUUIDPtr& uuid);
|
| +};
|
| +
|
| +template <>
|
| +struct TypeConverter<arc::mojom::BluetoothGattStatus,
|
| + device::BluetoothGattService::GattErrorCode> {
|
| + static arc::mojom::BluetoothGattStatus Convert(
|
| + const device::BluetoothGattService::GattErrorCode& error_code);
|
| +};
|
| +
|
| } // namespace mojo
|
|
|
| #endif // COMPONENTS_ARC_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
|
|
|