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 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const BluetoothUUID& uuid, | 72 const BluetoothUUID& uuid, |
73 const ConnectToServiceCallback& callback, | 73 const ConnectToServiceCallback& callback, |
74 const ConnectToServiceErrorCallback& error_callback) OVERRIDE; | 74 const ConnectToServiceErrorCallback& error_callback) OVERRIDE; |
75 virtual void SetOutOfBandPairingData( | 75 virtual void SetOutOfBandPairingData( |
76 const BluetoothOutOfBandPairingData& data, | 76 const BluetoothOutOfBandPairingData& data, |
77 const base::Closure& callback, | 77 const base::Closure& callback, |
78 const ErrorCallback& error_callback) OVERRIDE; | 78 const ErrorCallback& error_callback) OVERRIDE; |
79 virtual void ClearOutOfBandPairingData( | 79 virtual void ClearOutOfBandPairingData( |
80 const base::Closure& callback, | 80 const base::Closure& callback, |
81 const ErrorCallback& error_callback) OVERRIDE; | 81 const ErrorCallback& error_callback) OVERRIDE; |
| 82 virtual void StartConnectionMonitor( |
| 83 const base::Closure& callback, |
| 84 const ErrorCallback& error_callback) OVERRIDE; |
| 85 virtual void StopConnectionMonitor( |
| 86 const base::Closure& callback, |
| 87 const ErrorCallback& error_callback) OVERRIDE; |
82 | 88 |
83 // Used by BluetoothProfileWin to retrieve the service record for the given | 89 // Used by BluetoothProfileWin to retrieve the service record for the given |
84 // |uuid|. | 90 // |uuid|. |
85 const BluetoothServiceRecord* GetServiceRecord( | 91 const BluetoothServiceRecord* GetServiceRecord( |
86 const device::BluetoothUUID& uuid) const; | 92 const device::BluetoothUUID& uuid) const; |
87 | 93 |
88 protected: | 94 protected: |
89 // BluetoothDevice override | 95 // BluetoothDevice override |
90 virtual std::string GetDeviceName() const OVERRIDE; | 96 virtual std::string GetDeviceName() const OVERRIDE; |
91 | 97 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // The service records retrieved from SDP. | 135 // The service records retrieved from SDP. |
130 typedef ScopedVector<BluetoothServiceRecord> ServiceRecordList; | 136 typedef ScopedVector<BluetoothServiceRecord> ServiceRecordList; |
131 ServiceRecordList service_record_list_; | 137 ServiceRecordList service_record_list_; |
132 | 138 |
133 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 139 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
134 }; | 140 }; |
135 | 141 |
136 } // namespace device | 142 } // namespace device |
137 | 143 |
138 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 144 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
OLD | NEW |