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

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

Issue 2874873003: bluetooth: Implement simulateGATTConnectionResponse() (Closed)
Patch Set: Merge branch 'bluetooth-generate-with-headers' into bluetooth-simulate-gatt-discovery-complete 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 93fbd93ec4dfb6be2d5dfa31281d9e79797e4c8f..1f53a62946b2ce002ee7d2d4e5ded08b974453f6 100644
--- a/device/bluetooth/test/fake_central.h
+++ b/device/bluetooth/test/fake_central.h
@@ -29,6 +29,10 @@ class FakeCentral : NON_EXPORTED_BASE(public mojom::FakeCentral),
const std::string& name,
const std::vector<device::BluetoothUUID>& known_service_uuids,
SimulatePreconnectedPeripheralCallback callback) override;
+ void SimulateGATTConnectionResponse(
+ const std::string& address,
+ uint16_t code,
+ SimulateGATTConnectionResponseCallback) override;
// BluetoothAdapter overrides:
std::string GetAddress() const override;

Powered by Google App Engine
This is Rietveld 408576698