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

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: Another windows build fix 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..a021bfd0a1821c9cf1b8632151abefd3afdb6217 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(
+ scoped_ptr<BluetoothDiscoveryFilter> discovery_filter,
+ const DiscoverySessionCallback& callback,
+ const ErrorCallback& error_callback) {
+ StartDiscoverySessionWithFilterRaw(discovery_filter.get(), callback,
+ error_callback);
+}
+
} // namespace device
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_adapter.h ('k') | extensions/browser/api/bluetooth/bluetooth_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698