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..91837e144e7b7e5d482e9283419253d4e1a92f1d 100644 |
--- a/device/generic_sensor/public/interfaces/sensor_provider.mojom |
+++ b/device/generic_sensor/public/interfaces/sensor_provider.mojom |
@@ -19,6 +19,9 @@ struct SensorInitParams { |
// Default sensor configuration. |
SensorConfiguration default_configuration; |
+ // Maximum sampling frequency for the sensor: it considers both |SensorConfiguration::kMaxAllowedFrequency| and actual sensor capabilities. |
shalamov
2016/11/03 12:54:05
nit: format to 80 columns?
Mikhail
2016/11/03 13:28:16
Done.
|
+ 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. |