| Index: device/generic_sensor/public/cpp/sensor_struct_traits.h
|
| diff --git a/device/generic_sensor/public/cpp/sensor_struct_traits.h b/device/generic_sensor/public/cpp/sensor_struct_traits.h
|
| index 0514c1e2bab176ae3add30e319585d210bce10e9..f9dcb3c923c22e4bc3516193fdc622f298020a09 100644
|
| --- a/device/generic_sensor/public/cpp/sensor_struct_traits.h
|
| +++ b/device/generic_sensor/public/cpp/sensor_struct_traits.h
|
| @@ -17,6 +17,11 @@ struct StructTraits<device::mojom::SensorConfigurationDataView,
|
| return input.frequency();
|
| }
|
|
|
| + static bool notify_client_on_reading_change(
|
| + const device::PlatformSensorConfiguration& input) {
|
| + return input.notify_client_on_reading_change();
|
| + }
|
| +
|
| static bool Read(device::mojom::SensorConfigurationDataView data,
|
| device::PlatformSensorConfiguration* out);
|
| };
|
|
|