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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm

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_remote_gatt_descriptor_mac.mm
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm b/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm
index d867349abf338719329b1e7f4bb25d29eebd5751..761e842318da1e86861c2352b61ff11ee734ffc9 100644
--- a/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm
+++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm
@@ -74,4 +74,9 @@ CBDescriptor* BluetoothRemoteGattDescriptorMac::GetCBDescriptor() const {
return cb_descriptor_.get();
}
+std::string BluetoothRemoteGattDescriptorMac::ToString() const {
+ return std::string("<BluetoothRemoteGattServiceMac ") + GetIdentifier() +
+ ", characteristic " + gatt_characteristic_->GetIdentifier() + ">";
ortuno 2017/03/14 00:34:33 Same here. The UUID would be more useful.
+}
+
} // namespace device.

Powered by Google App Engine
This is Rietveld 408576698