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

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

Issue 1842223003: Remove outdated devices from Android device chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't purge devices continuously. Added more tests. Created 4 years, 6 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.cc
diff --git a/device/bluetooth/test/bluetooth_test.cc b/device/bluetooth/test/bluetooth_test.cc
index de47f463ad31415623f0027765b0a09e388a5ebb..96bbd3e6c89d361f56eac736454b26337487b3d3 100644
--- a/device/bluetooth/test/bluetooth_test.cc
+++ b/device/bluetooth/test/bluetooth_test.cc
@@ -321,4 +321,8 @@ void BluetoothTestBase::ResetEventCounts() {
gatt_write_descriptor_attempts_ = 0;
}
+void BluetoothTestBase::RemoveTimedOutDevices() {
+ adapter_->RemoveTimedOutDevices();
+}
+
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698