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 <memory> | 10 #include <memory> |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 base::scoped_nsobject<BluetoothLowEnergyCentralManagerDelegate> | 222 base::scoped_nsobject<BluetoothLowEnergyCentralManagerDelegate> |
223 low_energy_central_manager_delegate_; | 223 low_energy_central_manager_delegate_; |
224 | 224 |
225 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; | 225 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; |
226 | 226 |
227 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; | 227 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; |
228 | 228 |
229 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); | 229 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); |
230 }; | 230 }; |
231 | 231 |
| 232 // Stream operator for logging. |
| 233 DEVICE_BLUETOOTH_EXPORT std::ostream& operator<<(std::ostream& out, |
| 234 NSError* error); |
| 235 |
232 } // namespace device | 236 } // namespace device |
233 | 237 |
234 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 238 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
OLD | NEW |