Index: device/generic_sensor/public/interfaces/sensor_provider.mojom |
diff --git a/device/generic_sensor/public/interfaces/sensor_provider.mojom b/device/generic_sensor/public/interfaces/sensor_provider.mojom |
index 06eb7cbbdb34e76da4796e2de3af7ca27b7d3ff8..7b89d3aa062f1fc7803e2ef35ae1010b11b8bc7b 100644 |
--- a/device/generic_sensor/public/interfaces/sensor_provider.mojom |
+++ b/device/generic_sensor/public/interfaces/sensor_provider.mojom |
@@ -19,6 +19,11 @@ struct SensorInitParams { |
// Default sensor configuration. |
SensorConfiguration default_configuration; |
+ // Maximum sampling frequency for the sensor: it considers both |
+ // |SensorConfiguration::kMaxAllowedFrequency| and actual sensor |
+ // capabilities. |
+ double maximum_frequency; |
+ |
// Each sensor's read buffer contains 4 tightly packed 64-bit floating |
// point fields (please see sensor_reading.h) and a seqlock, so its size is |
// 5 * 8 = 40 bytes. |