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" | |
15 #include "device/bluetooth/bluetooth_task_manager_win.h" | 14 #include "device/bluetooth/bluetooth_task_manager_win.h" |
16 | 15 |
17 namespace device { | 16 namespace device { |
18 | 17 |
19 class BluetoothAdapterWin; | 18 class BluetoothAdapterWin; |
20 class BluetoothServiceRecordWin; | 19 class BluetoothServiceRecordWin; |
21 class BluetoothSocketThread; | 20 class BluetoothSocketThread; |
22 | 21 |
23 class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice { | 22 class BluetoothDeviceWin : public BluetoothDevice { |
24 public: | 23 public: |
25 explicit BluetoothDeviceWin( | 24 explicit BluetoothDeviceWin( |
26 const BluetoothTaskManagerWin::DeviceState& device_state, | 25 const BluetoothTaskManagerWin::DeviceState& device_state, |
27 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, | 26 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, |
28 const scoped_refptr<BluetoothSocketThread>& socket_thread, | 27 const scoped_refptr<BluetoothSocketThread>& socket_thread, |
29 net::NetLog* net_log, | 28 net::NetLog* net_log, |
30 const net::NetLog::Source& net_log_source); | 29 const net::NetLog::Source& net_log_source); |
31 virtual ~BluetoothDeviceWin(); | 30 virtual ~BluetoothDeviceWin(); |
32 | 31 |
33 // BluetoothDevice override | 32 // BluetoothDevice override |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 // The service records retrieved from SDP. | 132 // The service records retrieved from SDP. |
134 typedef ScopedVector<BluetoothServiceRecordWin> ServiceRecordList; | 133 typedef ScopedVector<BluetoothServiceRecordWin> ServiceRecordList; |
135 ServiceRecordList service_record_list_; | 134 ServiceRecordList service_record_list_; |
136 | 135 |
137 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 136 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
138 }; | 137 }; |
139 | 138 |
140 } // namespace device | 139 } // namespace device |
141 | 140 |
142 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 141 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
OLD | NEW |