| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual void CancelPairing() OVERRIDE; | 55 virtual void CancelPairing() OVERRIDE; |
| 56 virtual void Disconnect( | 56 virtual void Disconnect( |
| 57 const base::Closure& callback, | 57 const base::Closure& callback, |
| 58 const ErrorCallback& error_callback) OVERRIDE; | 58 const ErrorCallback& error_callback) OVERRIDE; |
| 59 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; | 59 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; |
| 60 virtual void ConnectToService( | 60 virtual void ConnectToService( |
| 61 const std::string& service_uuid, | 61 const std::string& service_uuid, |
| 62 const SocketCallback& callback) OVERRIDE; | 62 const SocketCallback& callback) OVERRIDE; |
| 63 virtual void ConnectToProfile( | 63 virtual void ConnectToProfile( |
| 64 device::BluetoothProfile* profile, | 64 device::BluetoothProfile* profile, |
| 65 scoped_refptr<base::SequencedTaskRunner> ui_task_runner, |
| 66 scoped_refptr<base::SequencedTaskRunner> file_task_runner, |
| 67 net::NetLog* net_log, |
| 68 const net::NetLog::Source& source, |
| 65 const base::Closure& callback, | 69 const base::Closure& callback, |
| 66 const ErrorCallback& error_callback) OVERRIDE; | 70 const ErrorCallback& error_callback) OVERRIDE; |
| 67 virtual void SetOutOfBandPairingData( | 71 virtual void SetOutOfBandPairingData( |
| 68 const BluetoothOutOfBandPairingData& data, | 72 const BluetoothOutOfBandPairingData& data, |
| 69 const base::Closure& callback, | 73 const base::Closure& callback, |
| 70 const ErrorCallback& error_callback) OVERRIDE; | 74 const ErrorCallback& error_callback) OVERRIDE; |
| 71 virtual void ClearOutOfBandPairingData( | 75 virtual void ClearOutOfBandPairingData( |
| 72 const base::Closure& callback, | 76 const base::Closure& callback, |
| 73 const ErrorCallback& error_callback) OVERRIDE; | 77 const ErrorCallback& error_callback) OVERRIDE; |
| 74 | 78 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // The services (identified by UUIDs) that this device provides. | 111 // The services (identified by UUIDs) that this device provides. |
| 108 ServiceList service_uuids_; | 112 ServiceList service_uuids_; |
| 109 ServiceRecordList service_record_list_; | 113 ServiceRecordList service_record_list_; |
| 110 | 114 |
| 111 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 115 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
| 112 }; | 116 }; |
| 113 | 117 |
| 114 } // namespace device | 118 } // namespace device |
| 115 | 119 |
| 116 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 120 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
| OLD | NEW |