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

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

Issue 1083163002: Expose SetDiscoveryFilter from BluetoothEventRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/mock_bluetooth_adapter.cc
diff --git a/device/bluetooth/test/mock_bluetooth_adapter.cc b/device/bluetooth/test/mock_bluetooth_adapter.cc
index 1ee00ee008671cdec8886d1a8769c4184a4fc300..1c17038b0d7dbbae84b22d00473b6f48afeb8e61 100644
--- a/device/bluetooth/test/mock_bluetooth_adapter.cc
+++ b/device/bluetooth/test/mock_bluetooth_adapter.cc
@@ -41,4 +41,12 @@ void MockBluetoothAdapter::SetDiscoveryFilter(
const ErrorCallback& error_callback) {
}
+void MockBluetoothAdapter::StartDiscoverySessionWithFilter(
+ const scoped_ptr<BluetoothDiscoveryFilter> discovery_filter,
+ const DiscoverySessionCallback& callback,
+ const ErrorCallback& error_callback) {
+ StartDiscoverySessionWithFilterRaw(discovery_filter.get(), callback,
+ error_callback);
+}
+
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698