Bluetooth: treat unpairable devices as Trusted/Paired
commitb7fc3bf26648005d527d9f861136273e43243abc
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 18 Apr 2013 22:45:02 +0000 (18 22:45 +0000)
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 18 Apr 2013 22:45:02 +0000 (18 22:45 +0000)
tree83267816d3d7a0670d52da1c6837added447ed52
parent7fe73a7231945d4e5f6f4b27ad3b6dfa3a019336
Bluetooth: treat unpairable devices as Trusted/Paired

A small number of devices cannot be paired, but can at least be
connected to insecurely. Support these by marking the devices as
Trusted, which causes BlueZ to remember the device and which allows
future incoming connections from them.

Make IsPaired() return true for these devices, there's no reason in
the UI to treat these any differently than paired devices.

TBR=youngki@chromium.org
BUG=232145
TEST=device_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195021 0039d316-1c4b-4281-b951-d872f2087c98
device/bluetooth/bluetooth_device_chromeos.cc
device/bluetooth/bluetooth_device_chromeos.h
device/bluetooth/bluetooth_device_experimental_chromeos.cc
device/bluetooth/bluetooth_device_experimental_chromeos.h
device/bluetooth/bluetooth_experimental_chromeos_unittest.cc