| Index: device/bluetooth/test/fake_bluetooth.h
|
| diff --git a/device/bluetooth/test/fake_bluetooth.h b/device/bluetooth/test/fake_bluetooth.h
|
| index 31482f0c5cc4fbef518f784ad8061bfcf5d5e1ac..dbab9f81367cb8b62488a958453c8e5f59525053 100644
|
| --- a/device/bluetooth/test/fake_bluetooth.h
|
| +++ b/device/bluetooth/test/fake_bluetooth.h
|
| @@ -6,13 +6,14 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "device/bluetooth/public/interfaces/test/fake_bluetooth.mojom.h"
|
| -#include "mojo/public/cpp/bindings/binding.h"
|
| +#include "device/bluetooth/test/fake_central.h"
|
|
|
| namespace bluetooth {
|
|
|
| // Implementation of FakeBluetooth in
|
| // src/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom.
|
| -// Implemented on top of the C++ device/bluetooth API.
|
| +// Implemented on top of the C++ device/bluetooth API, mainly
|
| +// device/bluetooth/bluetooth_adapter_factory.h.
|
| class FakeBluetooth : NON_EXPORTED_BASE(public mojom::FakeBluetooth) {
|
| public:
|
| FakeBluetooth();
|
| @@ -22,6 +23,11 @@ class FakeBluetooth : NON_EXPORTED_BASE(public mojom::FakeBluetooth) {
|
|
|
| void SetLESupported(bool available,
|
| const SetLESupportedCallback& callback) override;
|
| + void SimulateCentral(mojom::CentralState state,
|
| + const SimulateCentralCallback& callback) override;
|
| +
|
| + private:
|
| + scoped_refptr<FakeCentral> fake_central_;
|
| };
|
|
|
| } // namespace bluetooth
|
|
|