Index: device/bluetooth/bluetooth_device_chromeos.h |
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h |
index dd853552b1319038bac7faaa60cb03583340b1ff..2b1f087fa2f5b1817156903c2bae9b5a2c068af5 100644 |
--- a/device/bluetooth/bluetooth_device_chromeos.h |
+++ b/device/bluetooth/bluetooth_device_chromeos.h |
@@ -90,6 +90,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceChromeOS |
// Returns the object path of the device. |
const dbus::ObjectPath& object_path() const { return object_path_; } |
+ // Returns the adapter which owns this device instance. |
+ BluetoothAdapterChromeOS* adapter() const { return adapter_; } |
+ |
protected: |
// BluetoothDevice override |
virtual std::string GetDeviceName() const override; |