Index: device/bluetooth/bluetooth_adapter_mac.h |
diff --git a/device/bluetooth/bluetooth_adapter_mac.h b/device/bluetooth/bluetooth_adapter_mac.h |
index 30857c728bf26b5d1dd177faca79fc555d8c4aba..380c6abfb5f88746cf519f47fbc143eeaf6bcc16 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac.h |
+++ b/device/bluetooth/bluetooth_adapter_mac.h |
@@ -12,6 +12,12 @@ |
#include "base/observer_list.h" |
#include "device/bluetooth/bluetooth_adapter.h" |
+#ifdef __OBJC__ |
+@class NSArray; |
+#else |
+class NSArray; |
+#endif |
+ |
namespace base { |
class SequencedTaskRunner; |
@@ -59,6 +65,10 @@ class BluetoothAdapterMac : public BluetoothAdapter { |
scoped_refptr<base::SequencedTaskRunner> ui_task_runner); |
void PollAdapter(); |
+ // Updates |devices_| to be consistent with |devices| and fires |DeviceAdded|, |
+ // |DeviceChanged|, and |DeviceRemoved| observer calls. |
Mark Mentovai
2013/03/19 16:04:35
This comment should explain what |devices| is, bec
youngki
2013/03/19 19:04:55
Done.
|
+ void UpdateDevices(NSArray* devices); |
+ |
bool powered_; |
scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; |