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

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

Issue 2858803003: bluetooth: Implement simulatePreconnectedPeripheral. (Closed)
Patch Set: Address moar feedback 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
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..9d373861e509728ddbd78fa4606a58d183778f7e 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,
+ const SimulatePreconnectedPeripheralCallback& callback) override;
+
// BluetoothAdapter overrides:
std::string GetAddress() const override;
std::string GetName() const override;

Powered by Google App Engine
This is Rietveld 408576698