DescriptionSimplified BluetoothAdapterMac.
Mainly removed the complicate but unnecessary logic of updating |devices_| with paired devices. Since Bluetooth APIs do not need to listen to any of Device* observer calls for paired devices, I simplified the logic by just repopulating |devices_| when there is a change to those devices.
This is the first CL to implement Bluetooth 4.0 APIs and since there might be more changes, I'd rather implement the corresponding test in the later CLs once the shape of this file looks stable.
BUG=229636
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193313
Patch Set 1 #Patch Set 2 : Updated comments #
Total comments: 2
Patch Set 3 : fix space #
Messages
Total messages: 13 (0 generated)
|