| 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..969163821d1e72add567eac917f4985de72e9553 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 suppress_on_change_events(
|
| + const device::PlatformSensorConfiguration& input) {
|
| + return input.suppress_on_change_events();
|
| + }
|
| +
|
| static bool Read(device::mojom::SensorConfigurationDataView data,
|
| device::PlatformSensorConfiguration* out);
|
| };
|
|
|