Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3573)

Unified Diff: device/bluetooth/bluetooth_channel_mac.h

Issue 341433004: [Bluetooth] Improve the adapter's awareness of connected devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Net TODO delta: +1 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698