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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void ConfirmPairing() OVERRIDE; | 47 virtual void ConfirmPairing() OVERRIDE; |
48 virtual void RejectPairing() OVERRIDE; | 48 virtual void RejectPairing() OVERRIDE; |
49 virtual void CancelPairing() OVERRIDE; | 49 virtual void CancelPairing() OVERRIDE; |
50 virtual void Disconnect( | 50 virtual void Disconnect( |
51 const base::Closure& callback, | 51 const base::Closure& callback, |
52 const ErrorCallback& error_callback) OVERRIDE; | 52 const ErrorCallback& error_callback) OVERRIDE; |
53 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; | 53 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; |
54 virtual void ConnectToService( | 54 virtual void ConnectToService( |
55 const std::string& service_uuid, | 55 const std::string& service_uuid, |
56 const SocketCallback& callback) OVERRIDE; | 56 const SocketCallback& callback) OVERRIDE; |
| 57 virtual void ConnectToProfile( |
| 58 device::BluetoothProfile* profile, |
| 59 const ErrorCallback& error_callback) OVERRIDE; |
57 virtual void SetOutOfBandPairingData( | 60 virtual void SetOutOfBandPairingData( |
58 const BluetoothOutOfBandPairingData& data, | 61 const BluetoothOutOfBandPairingData& data, |
59 const base::Closure& callback, | 62 const base::Closure& callback, |
60 const ErrorCallback& error_callback) OVERRIDE; | 63 const ErrorCallback& error_callback) OVERRIDE; |
61 virtual void ClearOutOfBandPairingData( | 64 virtual void ClearOutOfBandPairingData( |
62 const base::Closure& callback, | 65 const base::Closure& callback, |
63 const ErrorCallback& error_callback) OVERRIDE; | 66 const ErrorCallback& error_callback) OVERRIDE; |
64 | 67 |
65 protected: | 68 protected: |
66 // BluetoothDevice override | 69 // BluetoothDevice override |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Used to compare the devices. | 110 // Used to compare the devices. |
108 uint32 device_fingerprint_; | 111 uint32 device_fingerprint_; |
109 ServiceRecordList service_record_list_; | 112 ServiceRecordList service_record_list_; |
110 | 113 |
111 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 114 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
112 }; | 115 }; |
113 | 116 |
114 } // namespace device | 117 } // namespace device |
115 | 118 |
116 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 119 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
OLD | NEW |