Index: device/bluetooth/bluetooth_device_chromeos.h |
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h |
index 6b9afc9b11f577b3a458c1c416a5d7607cabe89e..236b950fd8a1e03d87ec7768f239e08ea330cb09 100644 |
--- a/device/bluetooth/bluetooth_device_chromeos.h |
+++ b/device/bluetooth/bluetooth_device_chromeos.h |
@@ -88,6 +88,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 |
std::string GetDeviceName() const override; |