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

Side by Side Diff: device/bluetooth/bluetooth_device_win.h

Issue 1284073002: bluetooth: Add adapter to BluetoothDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-drop-callback-
Patch Set: Merge TOT Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.mm ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_export.h"
15 #include "device/bluetooth/bluetooth_task_manager_win.h" 15 #include "device/bluetooth/bluetooth_task_manager_win.h"
16 16
17 namespace device { 17 namespace device {
18 18
19 class BluetoothAdapterWin; 19 class BluetoothAdapterWin;
20 class BluetoothServiceRecordWin; 20 class BluetoothServiceRecordWin;
21 class BluetoothSocketThread; 21 class BluetoothSocketThread;
22 22
23 class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice { 23 class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
24 public: 24 public:
25 explicit BluetoothDeviceWin( 25 explicit BluetoothDeviceWin(
26 BluetoothAdapterWin* adapter,
26 const BluetoothTaskManagerWin::DeviceState& device_state, 27 const BluetoothTaskManagerWin::DeviceState& device_state,
27 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, 28 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
28 const scoped_refptr<BluetoothSocketThread>& socket_thread, 29 const scoped_refptr<BluetoothSocketThread>& socket_thread,
29 net::NetLog* net_log, 30 net::NetLog* net_log,
30 const net::NetLog::Source& net_log_source); 31 const net::NetLog::Source& net_log_source);
31 ~BluetoothDeviceWin() override; 32 ~BluetoothDeviceWin() override;
32 33
33 // BluetoothDevice override 34 // BluetoothDevice override
34 uint32 GetBluetoothClass() const override; 35 uint32 GetBluetoothClass() const override;
35 std::string GetAddress() const override; 36 std::string GetAddress() const override;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 // The service records retrieved from SDP. 131 // The service records retrieved from SDP.
131 ServiceRecordList service_record_list_; 132 ServiceRecordList service_record_list_;
132 133
133 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); 134 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin);
134 }; 135 };
135 136
136 } // namespace device 137 } // namespace device
137 138
138 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ 139 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.mm ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698