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