Index: device/bluetooth/bluetooth_channel_mac.h |
diff --git a/device/bluetooth/bluetooth_channel_mac.h b/device/bluetooth/bluetooth_channel_mac.h |
index fa54d565cb7a1d2d113ad83931b29a567780fea1..588a45c555817c79aaa628c048bec8e3a6ed7b59 100644 |
--- a/device/bluetooth/bluetooth_channel_mac.h |
+++ b/device/bluetooth/bluetooth_channel_mac.h |
@@ -11,6 +11,8 @@ |
#include "base/macros.h" |
+@class IOBluetoothDevice; |
+ |
namespace device { |
class BluetoothSocketMac; |
@@ -28,7 +30,10 @@ class BluetoothChannelMac { |
// Returns the Bluetooth address for the device associated with |this| |
// channel. |
- virtual std::string GetDeviceAddress() = 0; |
+ std::string GetDeviceAddress(); |
+ |
+ // Returns the Bluetooth device associated with |this| channel. |
+ virtual IOBluetoothDevice* GetDevice() = 0; |
// Returns the outgoing MTU (maximum transmission unit) for the channel. |
virtual uint16_t GetOutgoingMTU() = 0; |