Replace TypeConverters in device/bluetooth |
||||||||||
Issue descriptiondevice/bluetooth/adapter.cc uses device/bluetooth/public/interfaces/connect_result_type_converter.h to convert between bluetooth::mojom::ConnectResult and device::BluetoothDevice::ConnectErrorCode. device/bluetooth/device.cc uses device/bluetooth/public/interfaces/gatt_result_type_converter.h to convert between bluetooth::mojom::GattResult and device::BluetoothGattService::GattErrorCode. These TypeConverters should be replaced as soon as possible as TypeConverter is deprecated. The code currently uses TypeConverters because mojom values are a superset of the corresponding C++ enum. E.g. GattResult has more values than GattErrorCode: SUCCESS (and possibly more such as SERVICE_NOT_FOUND, CHARACTERISTIC_NOT_FOUND, or DESCRIPTOR_NOT_FOUND.
,
Jan 5 2017
,
Jan 5 2017
,
Jan 24 2017
,
Jan 24 2017
,
Jan 31 2017
,
Feb 16 2017
,
Dec 5 2017
Hi, I am interested to work on this. IIUC, we need to remove typeconverters and use EnumTriats. Please let me know if i can work on this.
,
Jan 9 2018
,
Aug 1
,
Oct 12
|
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by mbrunson@chromium.org
, Nov 18 2016