| Index: device/bluetooth/bluetooth_adapter.h
|
| diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
|
| index 87f18ef2c3ef6542594f4ced9808d836dca86267..5e2e82607c76e97413c5e63bc38426990a807f9d 100644
|
| --- a/device/bluetooth/bluetooth_adapter.h
|
| +++ b/device/bluetooth/bluetooth_adapter.h
|
| @@ -467,6 +467,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
|
| BluetoothRemoteGattDescriptor* descriptor,
|
| const std::vector<uint8_t>& value);
|
|
|
| + // The timeout in seconds used by RemoveTimedOutDevices.
|
| + static const base::TimeDelta timeoutSec;
|
| +
|
| protected:
|
| friend class base::RefCounted<BluetoothAdapter>;
|
| friend class BluetoothDiscoverySession;
|
| @@ -562,6 +565,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
|
|
|
| void DeleteDeviceForTesting(const std::string& address);
|
|
|
| + // Removes from |devices_| any previously paired, connected or seen
|
| + // devices which are no longer present. Notifies observers. Note:
|
| + // this is only used by platforms where there is no notification of
|
| + // lost devices.
|
| + void RemoveTimedOutDevices();
|
| +
|
| // Observers of BluetoothAdapter, notified from implementation subclasses.
|
| base::ObserverList<device::BluetoothAdapter::Observer> observers_;
|
|
|
|
|