Index: content/browser/device_sensors/inertial_sensor_consts.h |
diff --git a/content/browser/device_sensors/inertial_sensor_consts.h b/content/browser/device_sensors/inertial_sensor_consts.h |
index da099ad0c0070889e2f84f8473a95507fa11a7f2..f76d4e70c0f5d4a561e79b0f3921b58bfd2c6add 100644 |
--- a/content/browser/device_sensors/inertial_sensor_consts.h |
+++ b/content/browser/device_sensors/inertial_sensor_consts.h |
@@ -17,12 +17,12 @@ enum ConsumerType { |
// Specifies the minimal interval between subsequent sensor data updates. |
// Note that when changing this value it is desirable to have an adequate |
-// matching value |DeviceSensorEventPump::kDefaultPumpDelayMillis| in |
-// content/renderer/device_sensors/device_sensor_event_pump.cc. |
-const int kInertialSensorIntervalMillis = 50; |
-// Corresponding |kDefaultLightPumpDelayMillis| is in |
+// matching value |DeviceSensorEventPump::kDefaultPumpDelayMicroseconds| in |
+// content/renderer/device_orientation/device_sensor_event_pump.cc. |
+const int kInertialSensorIntervalMicroseconds = 1000000 / 60; |
timvolodine
2014/09/25 21:30:51
it not very clear what the interval means. could y
jdarpinian
2014/09/25 22:36:18
Done.
|
+// Corresponding |kDefaultLightPumpDelayMicroseconds| is in |
// content/renderer/device_sensors/device_light_event_pump.cc. |
-const int kLightSensorIntervalMillis = 200; |
+const int kLightSensorIntervalMicroseconds = 1000000 / 5; |
timvolodine
2014/09/25 21:30:51
same as above
jdarpinian
2014/09/25 22:36:18
Done.
|
} // namespace content |