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_CHROMEOS_H | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...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 device::BluetoothOutOfBandPairingData& data, | 72 const device::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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // Note: This should remain the last member so it'll be destroyed and | 175 // Note: This should remain the last member so it'll be destroyed and |
172 // invalidate its weak pointers before any other members are destroyed. | 176 // invalidate its weak pointers before any other members are destroyed. |
173 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; | 177 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; |
174 | 178 |
175 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); | 179 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); |
176 }; | 180 }; |
177 | 181 |
178 } // namespace chromeos | 182 } // namespace chromeos |
179 | 183 |
180 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H | 184 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
OLD | NEW |