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

Unified Diff: device/bluetooth/bluetooth_device_mac.h

Issue 229463003: MacOS implementation of BluetoothSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build error on OSX SDK < 10.7. Created 6 years, 8 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
« no previous file with comments | « device/bluetooth/bluetooth_adapter_mac.mm ('k') | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_mac.h
diff --git a/device/bluetooth/bluetooth_device_mac.h b/device/bluetooth/bluetooth_device_mac.h
index e0ed024a1bcbbdbf7ee3ccc98dd14ee299db4ee0..e7bec55c34dde50f06250f61d2bd5f3a99585201 100644
--- a/device/bluetooth/bluetooth_device_mac.h
+++ b/device/bluetooth/bluetooth_device_mac.h
@@ -17,11 +17,17 @@
class IOBluetoothDevice;
#endif
+namespace base {
+class SequencedTaskRunner;
+} // namespace base
+
namespace device {
class BluetoothDeviceMac : public BluetoothDevice {
public:
- explicit BluetoothDeviceMac(IOBluetoothDevice* device);
+ explicit BluetoothDeviceMac(
+ const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
+ IOBluetoothDevice* device);
virtual ~BluetoothDeviceMac();
// BluetoothDevice override
@@ -81,6 +87,8 @@ class BluetoothDeviceMac : public BluetoothDevice {
// List of observers interested in event notifications from us.
ObserverList<Observer> observers_;
+ scoped_refptr<base::SequencedTaskRunner> ui_task_runner_;
+ // (retained)
IOBluetoothDevice* device_;
DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
« no previous file with comments | « device/bluetooth/bluetooth_adapter_mac.mm ('k') | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698