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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 2745983003: Bluetooth: macOS: Adding logs (Closed)
Patch Set: Last fix about GetIdentifier() Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_low_energy_device_mac.h
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h
index b25bfff5aecc901ecf69e6055aee8140767817b7..5bb05647f249b5120b3d367b2a3d69872adb128c 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -126,6 +126,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
// Callback used when the CoreBluetooth Peripheral is disconnected.
void DidDisconnectPeripheral(NSError* error);
+ // Returns a description for the device, that should be used for logs.
ortuno 2017/03/14 00:34:33 I should have suggested this before but I wasn't s
jlebel 2017/03/15 01:08:40 Done.
+ std::string ToString() const;
+
// CoreBluetooth data structure.
base::scoped_nsobject<CBPeripheral> peripheral_;

Powered by Google App Engine
This is Rietveld 408576698