| Index: device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h
|
| diff --git a/device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h b/device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h
|
| index 41dbf7e86bd61bbf200aa05c9ec03c78270831ad..d56a35527f2a5a49d74ec3e1a68c33432d61ea9a 100644
|
| --- a/device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h
|
| +++ b/device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h
|
| @@ -55,6 +55,11 @@ class DEVICE_BLUETOOTH_EXPORT FakeBluetoothGattServiceClient
|
| void ExposeHeartRateService(const dbus::ObjectPath& device_path);
|
| void HideHeartRateService();
|
|
|
| + // Makes a service visible for device with object path |device_path| without
|
| + // delay. Note that only one instance of a specific service is simulated at a
|
| + // time, if the service is already visible.
|
| + void ExposeHeartRateServiceWithoutDelay(const dbus::ObjectPath& device_path);
|
| +
|
| // Returns whether or not the Heart Rate Service is visible.
|
| bool IsHeartRateVisible() const;
|
|
|
| @@ -85,6 +90,11 @@ class DEVICE_BLUETOOTH_EXPORT FakeBluetoothGattServiceClient
|
| // time this method is called, then it does nothing.
|
| void ExposeHeartRateCharacteristics();
|
|
|
| + // Toggles the ServicesResolved property for the device with |object_path|.
|
| + // This should be done after a service is fully discovered.
|
| + void ToggleServicesResolvedProperty(const dbus::ObjectPath& object_path,
|
| + bool resolved);
|
| +
|
| // Static properties we return. As long as a service is exposed, this will be
|
| // non-null. Otherwise it will be null.
|
| std::unique_ptr<Properties> heart_rate_service_properties_;
|
|
|