| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "device/bluetooth/bluetooth_device.h" | 13 #include "device/bluetooth/bluetooth_device.h" |
| 14 #include "device/bluetooth/bluetooth_export.h" |
| 14 #include "device/bluetooth/bluetooth_task_manager_win.h" | 15 #include "device/bluetooth/bluetooth_task_manager_win.h" |
| 15 | 16 |
| 16 namespace device { | 17 namespace device { |
| 17 | 18 |
| 18 class BluetoothAdapterWin; | 19 class BluetoothAdapterWin; |
| 19 class BluetoothServiceRecordWin; | 20 class BluetoothServiceRecordWin; |
| 20 class BluetoothSocketThread; | 21 class BluetoothSocketThread; |
| 21 | 22 |
| 22 class BluetoothDeviceWin : public BluetoothDevice { | 23 class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice { |
| 23 public: | 24 public: |
| 24 explicit BluetoothDeviceWin( | 25 explicit BluetoothDeviceWin( |
| 25 const BluetoothTaskManagerWin::DeviceState& device_state, | 26 const BluetoothTaskManagerWin::DeviceState& device_state, |
| 26 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, | 27 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, |
| 27 const scoped_refptr<BluetoothSocketThread>& socket_thread, | 28 const scoped_refptr<BluetoothSocketThread>& socket_thread, |
| 28 net::NetLog* net_log, | 29 net::NetLog* net_log, |
| 29 const net::NetLog::Source& net_log_source); | 30 const net::NetLog::Source& net_log_source); |
| 30 virtual ~BluetoothDeviceWin(); | 31 virtual ~BluetoothDeviceWin(); |
| 31 | 32 |
| 32 // BluetoothDevice override | 33 // BluetoothDevice override |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // The service records retrieved from SDP. | 133 // The service records retrieved from SDP. |
| 133 typedef ScopedVector<BluetoothServiceRecordWin> ServiceRecordList; | 134 typedef ScopedVector<BluetoothServiceRecordWin> ServiceRecordList; |
| 134 ServiceRecordList service_record_list_; | 135 ServiceRecordList service_record_list_; |
| 135 | 136 |
| 136 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 137 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
| 137 }; | 138 }; |
| 138 | 139 |
| 139 } // namespace device | 140 } // namespace device |
| 140 | 141 |
| 141 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 142 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
| OLD | NEW |