Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: device/bluetooth/bluetooth_adapter_mac.h

Issue 2745323002: Adding std::ostream& operator<<(std::ostream& out, NSError* error) (Closed)
Patch Set: Moving operator<< to bluetooth_adapter_mac.mm Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698