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

Unified Diff: device/bluetooth/test/bluetooth_test_mac.h

Issue 2339253002: bluetooth: mac: add connected LE devices to chooser (Closed)
Patch Set: Implementing RetrieveGattConnectedDevicesWithDiscoveryFilter() with tests Created 4 years, 2 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/test/bluetooth_test_mac.h
diff --git a/device/bluetooth/test/bluetooth_test_mac.h b/device/bluetooth/test/bluetooth_test_mac.h
index 0111e58ca698c660435d1f2a93afc205a8f666e9..4a554d289165358d75b8b160e27fe0c8aa9f05b9 100644
--- a/device/bluetooth/test/bluetooth_test_mac.h
+++ b/device/bluetooth/test/bluetooth_test_mac.h
@@ -76,6 +76,12 @@ class BluetoothTestMac : public BluetoothTestBase {
BluetoothRemoteGattService* service,
BluetoothRemoteGattCharacteristic* characteristic) override;
+ // Simulates a connected low energy device. Used before starting a low energy
+ // discovey session.
+ void SimulateConnectedLowEnergyDevice(
ortuno 2016/10/31 04:30:51 Please add this function to bluetooth_test.h and a
jlebel 2016/11/07 01:43:18 Done.
+ int device_ordinal,
+ const BluetoothDevice::UUIDSet& service_uuids);
ortuno 2016/10/31 04:30:51 I like the current pattern of just specifying a si
jlebel 2016/11/07 01:43:18 Done.
+
// Callback for the bluetooth central manager mock.
void OnFakeBluetoothDeviceConnectGattCalled();
void OnFakeBluetoothGattDisconnect();

Powered by Google App Engine
This is Rietveld 408576698