Index: device/bluetooth/test/fake_central.h |
diff --git a/device/bluetooth/test/fake_central.h b/device/bluetooth/test/fake_central.h |
index f1c5928073ba758d3a30ebc22e490ad4dc3ad568..47226ead06fa1540559fff267bc4d6313c73164d 100644 |
--- a/device/bluetooth/test/fake_central.h |
+++ b/device/bluetooth/test/fake_central.h |
@@ -4,6 +4,9 @@ |
#ifndef DEVICE_BLUETOOTH_TEST_FAKE_CENTRAL_H_ |
#define DEVICE_BLUETOOTH_TEST_FAKE_CENTRAL_H_ |
+#include <memory> |
+#include <string> |
+ |
#include "base/compiler_specific.h" |
#include "device/bluetooth/bluetooth_adapter.h" |
#include "device/bluetooth/public/interfaces/test/fake_bluetooth.mojom.h" |
@@ -20,6 +23,12 @@ class FakeCentral : NON_EXPORTED_BASE(public mojom::FakeCentral), |
public: |
FakeCentral(mojom::CentralState state, mojom::FakeCentralRequest request); |
+ // FakeCentral overrides: |
+ void SimulateSystemConnectedPeripheral( |
+ const std::string& address, |
+ const std::string& name, |
+ const SimulateSystemConnectedPeripheralCallback& callback) override; |
+ |
// BluetoothAdapter overrides: |
std::string GetAddress() const override; |
std::string GetName() const override; |