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_ADAPTER_MAC_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
7 | 7 |
8 #include <IOKit/IOReturn.h> | 8 #include <IOKit/IOReturn.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual void SetPowered( | 51 virtual void SetPowered( |
52 bool powered, | 52 bool powered, |
53 const base::Closure& callback, | 53 const base::Closure& callback, |
54 const ErrorCallback& error_callback) OVERRIDE; | 54 const ErrorCallback& error_callback) OVERRIDE; |
55 virtual bool IsDiscoverable() const OVERRIDE; | 55 virtual bool IsDiscoverable() const OVERRIDE; |
56 virtual void SetDiscoverable( | 56 virtual void SetDiscoverable( |
57 bool discoverable, | 57 bool discoverable, |
58 const base::Closure& callback, | 58 const base::Closure& callback, |
59 const ErrorCallback& error_callback) OVERRIDE; | 59 const ErrorCallback& error_callback) OVERRIDE; |
60 virtual bool IsDiscovering() const OVERRIDE; | 60 virtual bool IsDiscovering() const OVERRIDE; |
61 virtual void ReadLocalOutOfBandPairingData( | |
62 const BluetoothOutOfBandPairingDataCallback& callback, | |
63 const ErrorCallback& error_callback) OVERRIDE; | |
64 virtual void CreateRfcommService( | 61 virtual void CreateRfcommService( |
65 const BluetoothUUID& uuid, | 62 const BluetoothUUID& uuid, |
66 int channel, | 63 int channel, |
67 bool insecure, | 64 bool insecure, |
68 const CreateServiceCallback& callback, | 65 const CreateServiceCallback& callback, |
69 const CreateServiceErrorCallback& error_callback) OVERRIDE; | 66 const CreateServiceErrorCallback& error_callback) OVERRIDE; |
70 virtual void CreateL2capService( | 67 virtual void CreateL2capService( |
71 const BluetoothUUID& uuid, | 68 const BluetoothUUID& uuid, |
72 int psm, | 69 int psm, |
73 const CreateServiceCallback& callback, | 70 const CreateServiceCallback& callback, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 ObserverList<BluetoothAdapter::Observer> observers_; | 146 ObserverList<BluetoothAdapter::Observer> observers_; |
150 | 147 |
151 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; | 148 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; |
152 | 149 |
153 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); | 150 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); |
154 }; | 151 }; |
155 | 152 |
156 } // namespace device | 153 } // namespace device |
157 | 154 |
158 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 155 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
OLD | NEW |