| Index: device/bluetooth/test/mock_bluetooth_adapter.h
|
| diff --git a/device/bluetooth/test/mock_bluetooth_adapter.h b/device/bluetooth/test/mock_bluetooth_adapter.h
|
| index 6d1ee73170a6f3a86cf75637cfd09049fac7442d..775adee091a0b43b0f344a138a5d6294534d2619 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_adapter.h
|
| +++ b/device/bluetooth/test/mock_bluetooth_adapter.h
|
| @@ -109,6 +109,13 @@ class MockBluetoothAdapter : public BluetoothAdapter {
|
| BluetoothAdapter::ConstDeviceList GetConstMockDevices();
|
| BluetoothAdapter::DeviceList GetMockDevices();
|
|
|
| + // The observers are maintained by the default behavior of AddObserver() and
|
| + // RemoveObserver(). Test fakes can use this function to notify the observers
|
| + // about events.
|
| + base::ObserverList<device::BluetoothAdapter::Observer>& GetObservers() {
|
| + return observers_;
|
| + }
|
| +
|
| protected:
|
| void AddDiscoverySession(
|
| BluetoothDiscoveryFilter* discovery_filter,
|
|
|