| Index: device/bluetooth/bluetooth_device.cc
|
| diff --git a/device/bluetooth/bluetooth_device.cc b/device/bluetooth/bluetooth_device.cc
|
| index 378c6cedae797f0c8bc1c147007172cab3780f48..35b712c7f39a698eabe559293d09de675c570afa 100644
|
| --- a/device/bluetooth/bluetooth_device.cc
|
| +++ b/device/bluetooth/bluetooth_device.cc
|
| @@ -14,7 +14,8 @@ BluetoothDevice::BluetoothDevice()
|
| : bluetooth_class_(0),
|
| visible_(false),
|
| bonded_(false),
|
| - connected_(false) {
|
| + connected_(false),
|
| + connectable_(true) {
|
| }
|
|
|
| BluetoothDevice::~BluetoothDevice() {
|
| @@ -167,4 +168,8 @@ bool BluetoothDevice::IsConnected() const {
|
| return connected_;
|
| }
|
|
|
| +bool BluetoothDevice::IsConnectable() const {
|
| + return connectable_;
|
| +}
|
| +
|
| } // namespace device
|
|
|