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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 1685963003: Adding the last test related with connect/disconnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@connectdisconnect
Patch Set: Using FAILED instead of UNKNOWN error code Created 4 years, 10 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 8a78142ebe42f284b0f958b76912ff6e8ae2bfcb..0d0957dd3e8b7974b2169b7332cd148b51b3daad 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -113,7 +113,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
CBPeripheral* GetPeripheral();
// Callback used when the CoreBluetooth Peripheral is disconnected.
- void DidDisconnectPeripheral();
+ void DidDisconnectPeripheral(BluetoothDevice::ConnectErrorCode error_code);
// Equivalent to [peripheral_ state]. Allows compilation on OS X 10.6.
CBPeripheralState GetPeripheralState() const;

Powered by Google App Engine
This is Rietveld 408576698