| 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..c2762e6a5c811ae43fed24a29b216e8918a63cbf 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_le_central_observer_manager.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,12 @@ class FakeBluetooth : NON_EXPORTED_BASE(public mojom::FakeBluetooth) {
|
|
|
| void SetLESupported(bool available,
|
| const SetLESupportedCallback& callback) override;
|
| + void SimulateLECentralObserverManager(
|
| + mojom::LECentralObserverManagerState state,
|
| + const SimulateLECentralObserverManagerCallback& callback) override;
|
| +
|
| + private:
|
| + scoped_refptr<FakeLECentralObserverManager> fake_manager_;
|
| };
|
|
|
| } // namespace bluetooth
|
|
|