OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MAC_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
6 #define DEVICE_BLUETOOTH_BlUETOOTH_DEVICE_MAC_H_ | 6 #define DEVICE_BLUETOOTH_BlUETOOTH_DEVICE_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void ConfirmPairing() OVERRIDE; | 48 virtual void ConfirmPairing() OVERRIDE; |
49 virtual void RejectPairing() OVERRIDE; | 49 virtual void RejectPairing() OVERRIDE; |
50 virtual void CancelPairing() OVERRIDE; | 50 virtual void CancelPairing() OVERRIDE; |
51 virtual void Disconnect( | 51 virtual void Disconnect( |
52 const base::Closure& callback, | 52 const base::Closure& callback, |
53 const ErrorCallback& error_callback) OVERRIDE; | 53 const ErrorCallback& error_callback) OVERRIDE; |
54 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; | 54 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; |
55 virtual void ConnectToService( | 55 virtual void ConnectToService( |
56 const std::string& service_uuid, | 56 const std::string& service_uuid, |
57 const SocketCallback& callback) OVERRIDE; | 57 const SocketCallback& callback) OVERRIDE; |
| 58 virtual void ConnectToProfile( |
| 59 device::BluetoothProfile* profile, |
| 60 const ErrorCallback& error_callback) OVERRIDE; |
58 virtual void SetOutOfBandPairingData( | 61 virtual void SetOutOfBandPairingData( |
59 const BluetoothOutOfBandPairingData& data, | 62 const BluetoothOutOfBandPairingData& data, |
60 const base::Closure& callback, | 63 const base::Closure& callback, |
61 const ErrorCallback& error_callback) OVERRIDE; | 64 const ErrorCallback& error_callback) OVERRIDE; |
62 virtual void ClearOutOfBandPairingData( | 65 virtual void ClearOutOfBandPairingData( |
63 const base::Closure& callback, | 66 const base::Closure& callback, |
64 const ErrorCallback& error_callback) OVERRIDE; | 67 const ErrorCallback& error_callback) OVERRIDE; |
65 | 68 |
66 protected: | 69 protected: |
67 // BluetoothDevice override | 70 // BluetoothDevice override |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Used to compare the devices. | 102 // Used to compare the devices. |
100 const uint32 device_fingerprint_; | 103 const uint32 device_fingerprint_; |
101 ServiceRecordList service_record_list_; | 104 ServiceRecordList service_record_list_; |
102 | 105 |
103 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); | 106 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); |
104 }; | 107 }; |
105 | 108 |
106 } // namespace device | 109 } // namespace device |
107 | 110 |
108 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ | 111 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
OLD | NEW |