| Index: device/bluetooth/bluetooth_adapter_chromeos.h
|
| diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h
|
| index 905cbc3a5f887fa6e23274f55ce8aa5ca943368e..024dce800fe53c95815aa3155cbfe91c1213b3da 100644
|
| --- a/device/bluetooth/bluetooth_adapter_chromeos.h
|
| +++ b/device/bluetooth/bluetooth_adapter_chromeos.h
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
|
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/sequenced_task_runner.h"
|
| #include "chromeos/dbus/bluetooth_adapter_client.h"
|
| #include "chromeos/dbus/bluetooth_agent_service_provider.h"
|
| #include "chromeos/dbus/bluetooth_device_client.h"
|
| @@ -17,6 +18,10 @@
|
| #include "device/bluetooth/bluetooth_adapter.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
|
|
| +namespace device {
|
| +class BluetoothSocketThread;
|
| +} // namespace device
|
| +
|
| namespace chromeos {
|
|
|
| class BluetoothChromeOSTest;
|
| @@ -230,6 +235,10 @@ class BluetoothAdapterChromeOS
|
| // our own class as its delegate.
|
| scoped_ptr<BluetoothAgentServiceProvider> agent_;
|
|
|
| + // UI thread task runner and socket thread object used to create sockets.
|
| + scoped_refptr<base::SequencedTaskRunner> ui_task_runner_;
|
| + scoped_refptr<device::BluetoothSocketThread> socket_thread_;
|
| +
|
| // Note: This should remain the last member so it'll be destroyed and
|
| // invalidate its weak pointers before any other members are destroyed.
|
| base::WeakPtrFactory<BluetoothAdapterChromeOS> weak_ptr_factory_;
|
|
|