| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 const ErrorCallback& error_callback) OVERRIDE; | 65 const ErrorCallback& error_callback) OVERRIDE; |
| 66 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; | 66 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; |
| 67 virtual void ConnectToProfile( | 67 virtual void ConnectToProfile( |
| 68 device::BluetoothProfile* profile, | 68 device::BluetoothProfile* profile, |
| 69 const base::Closure& callback, | 69 const base::Closure& callback, |
| 70 const ConnectToProfileErrorCallback& error_callback) OVERRIDE; | 70 const ConnectToProfileErrorCallback& error_callback) OVERRIDE; |
| 71 virtual void ConnectToService( | 71 virtual void ConnectToService( |
| 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( | |
| 76 const BluetoothOutOfBandPairingData& data, | |
| 77 const base::Closure& callback, | |
| 78 const ErrorCallback& error_callback) OVERRIDE; | |
| 79 virtual void ClearOutOfBandPairingData( | |
| 80 const base::Closure& callback, | |
| 81 const ErrorCallback& error_callback) OVERRIDE; | |
| 82 virtual void StartConnectionMonitor( | 75 virtual void StartConnectionMonitor( |
| 83 const base::Closure& callback, | 76 const base::Closure& callback, |
| 84 const ErrorCallback& error_callback) OVERRIDE; | 77 const ErrorCallback& error_callback) OVERRIDE; |
| 85 | 78 |
| 86 // Used by BluetoothProfileWin to retrieve the service record for the given | 79 // Used by BluetoothProfileWin to retrieve the service record for the given |
| 87 // |uuid|. | 80 // |uuid|. |
| 88 const BluetoothServiceRecord* GetServiceRecord( | 81 const BluetoothServiceRecord* GetServiceRecord( |
| 89 const device::BluetoothUUID& uuid) const; | 82 const device::BluetoothUUID& uuid) const; |
| 90 | 83 |
| 91 protected: | 84 protected: |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // The service records retrieved from SDP. | 125 // The service records retrieved from SDP. |
| 133 typedef ScopedVector<BluetoothServiceRecord> ServiceRecordList; | 126 typedef ScopedVector<BluetoothServiceRecord> ServiceRecordList; |
| 134 ServiceRecordList service_record_list_; | 127 ServiceRecordList service_record_list_; |
| 135 | 128 |
| 136 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 129 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
| 137 }; | 130 }; |
| 138 | 131 |
| 139 } // namespace device | 132 } // namespace device |
| 140 | 133 |
| 141 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 134 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
| OLD | NEW |