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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 2221353002: Bluetooth: mac: Crash while loging nil error. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ortuno comments Created 4 years, 4 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 d41dbf954cab538bae93852c33198402d4a07451..44a63779d6b4eef0b1bd93562f24ddae6ad25fb8 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -128,8 +128,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
CBService* service) const;
// Callback used when the CoreBluetooth Peripheral is disconnected.
+ void DidDisconnectPeripheral();
void DidDisconnectPeripheral(BluetoothDevice::ConnectErrorCode error_code);
+ // Remove all services.
+ void RemoveAllServices();
+
// CoreBluetooth data structure.
base::scoped_nsobject<CBPeripheral> peripheral_;

Powered by Google App Engine
This is Rietveld 408576698