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

Unified Diff: device/bluetooth/test/fake_central.h

Issue 2858803003: bluetooth: Implement simulatePreconnectedPeripheral. (Closed)
Patch Set: Merge branch 'master' into bluetooth-simulate-preconnected Created 3 years, 7 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/public/interfaces/test/fake_bluetooth.mojom ('k') | device/bluetooth/test/fake_central.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/fake_central.h
diff --git a/device/bluetooth/test/fake_central.h b/device/bluetooth/test/fake_central.h
index c4e2be4ca331ba76b5839b2836d5a919cf50593e..9dfddf6c39e15ecff859ed61d4f8e1e469b7b34b 100644
--- a/device/bluetooth/test/fake_central.h
+++ b/device/bluetooth/test/fake_central.h
@@ -23,6 +23,12 @@ class FakeCentral : NON_EXPORTED_BASE(public mojom::FakeCentral),
public:
FakeCentral(mojom::CentralState state, mojom::FakeCentralRequest request);
+ // FakeCentral overrides:
+ void SimulatePreconnectedPeripheral(
+ const std::string& address,
+ const std::string& name,
+ SimulatePreconnectedPeripheralCallback callback) override;
+
// BluetoothAdapter overrides:
std::string GetAddress() const override;
std::string GetName() const override;
« no previous file with comments | « device/bluetooth/public/interfaces/test/fake_bluetooth.mojom ('k') | device/bluetooth/test/fake_central.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698