Returning a GATT connection object for already connected devices.
commit6af20c8a154f23f5c9f0c69a667768499b92b4f4
authorsacomoto <sacomoto@chromium.org>
Tue, 5 May 2015 08:47:31 +0000 (5 01:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 5 May 2015 08:48:13 +0000 (5 08:48 +0000)
treedd1b0fff772b53b404ba987a7d3aa7420d59efe5
parentc01623f93b4c741608cc607bfbf71c95a97a76e4
Returning a GATT connection object for already connected devices.

This CL modifies the behavior of
BluetoothDeviceChromeOS::CreateGattConnection. The call will succeed
even when the device is already connected, and a new
BluetoothGattConnection object will be passed to the callback.

Currently, there is no way to retrieve a BluetoothGattConnection object
for an already connected device.

BUG=482025

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

Cr-Commit-Position: refs/heads/master@{#328299}
device/bluetooth/bluetooth_device_chromeos.cc