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

Unified Diff: device/bluetooth/test/bluetooth_test.cc

Issue 1412023002: bluetooth: mac: Only test Low Energy discovery sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@btm-key-strings-
Patch Set: Created 5 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
« no previous file with comments | « device/bluetooth/test/bluetooth_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « device/bluetooth/test/bluetooth_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698