Index: device/generic_sensor/platform_sensor.cc |
diff --git a/device/generic_sensor/platform_sensor.cc b/device/generic_sensor/platform_sensor.cc |
index eb98f34258d08d5b6d0498831d4a10d6ecc60d45..ab3e1cd6b45cdbcb20ac5a4811df3e8eb1f89354 100644 |
--- a/device/generic_sensor/platform_sensor.cc |
+++ b/device/generic_sensor/platform_sensor.cc |
@@ -29,6 +29,10 @@ mojom::SensorType PlatformSensor::GetType() const { |
return type_; |
} |
+double PlatformSensor::GetMaximumSupportedFrequency() { |
+ return GetDefaultConfiguration().frequency(); |
+} |
+ |
bool PlatformSensor::StartListening(Client* client, |
const PlatformSensorConfiguration& config) { |
DCHECK(clients_.HasObserver(client)); |