Connecting only to paired devices in BLE connection finder.
commitb7bcc20a4f5bd49d10ad29852394ca60b762b056
authorsacomoto <sacomoto@chromium.org>
Wed, 17 Jun 2015 12:13:04 +0000 (17 05:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Jun 2015 12:13:38 +0000 (17 12:13 +0000)
tree3f52fd2d793fb982d6f1863368ddcbef182df220
parent9460c33b35c889740a3dc659eb9c9d1161fd155d
Connecting only to paired devices in BLE connection finder.

- Replaces Forget() to Disconnect(), as forgetting a paired device
would not make sense (i.e. all cached characteristics are forgotten too).
- Implements work arounds for crbug.com/497841, crbug.com/498850 and
crbug.com/495402.

BUG=497098

Review URL: https://codereview.chromium.org/1193443002

Cr-Commit-Position: refs/heads/master@{#334814}
components/proximity_auth/ble/bluetooth_low_energy_connection.cc
components/proximity_auth/ble/bluetooth_low_energy_connection.h
components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc
components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc
components/proximity_auth/ble/bluetooth_low_energy_connection_unittest.cc