Index: device/bluetooth/test/bluetooth_test.cc |
diff --git a/device/bluetooth/test/bluetooth_test.cc b/device/bluetooth/test/bluetooth_test.cc |
index 40de9b3407ba514b4e6a629d15f7503449f17572..c5368ec85102c02b3e1024adace8c1bde71703bf 100644 |
--- a/device/bluetooth/test/bluetooth_test.cc |
+++ b/device/bluetooth/test/bluetooth_test.cc |
@@ -30,9 +30,11 @@ BluetoothTestBase::BluetoothTestBase() : weak_factory_(this) {} |
BluetoothTestBase::~BluetoothTestBase() { |
} |
-void BluetoothTestBase::StartDiscoverySession() { |
- adapter_->StartDiscoverySession(GetDiscoverySessionCallback(), |
- GetErrorCallback()); |
+void BluetoothTestBase::StartLowEnergyDiscoverySession() { |
+ adapter_->StartDiscoverySessionWithFilter( |
Nico
2015/10/18 02:43:32
Do you want to test both session times at some poi
scheib
2015/10/18 04:21:13
OK, added blocking feature issue:
https://code.goo
|
+ make_scoped_ptr(new BluetoothDiscoveryFilter( |
+ BluetoothDiscoveryFilter::Transport::TRANSPORT_LE)), |
+ GetDiscoverySessionCallback(), GetErrorCallback()); |
base::RunLoop().RunUntilIdle(); |
} |