Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: content/browser/device_sensors/device_sensors_consts.h

Issue 2126443002: Rename DeviceInertialSensorService to DeviceSensorService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conversion--sensors
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/device_sensors/device_sensors_consts.h
diff --git a/content/browser/device_sensors/device_sensors_consts.h b/content/browser/device_sensors/device_sensors_consts.h
index 2ef774e1e87f0194e1631503b6e2f874877277d6..ae2b5bd885382da300ba8d1b8f4d03e63510f80d 100644
--- a/content/browser/device_sensors/device_sensors_consts.h
+++ b/content/browser/device_sensors/device_sensors_consts.h
@@ -24,9 +24,9 @@ enum ConsumerType {
// Note that when changing this value it is desirable to have an adequate
// matching value |DeviceSensorEventPump::kDefaultPumpFrequencyHz| in
// content/renderer/device_orientation/device_sensor_event_pump.cc.
-const int kInertialSensorSamplingRateHz = 60;
-const int kInertialSensorIntervalMicroseconds =
- base::Time::kMicrosecondsPerSecond / kInertialSensorSamplingRateHz;
+const int kDeviceSensorSamplingRateHz = 60;
+const int kDeviceSensorIntervalMicroseconds =
+ base::Time::kMicrosecondsPerSecond / kDeviceSensorSamplingRateHz;
// Corresponding |kDefaultLightPumpFrequencyHz| is in
// content/renderer/device_sensors/device_light_event_pump.cc.
« no previous file with comments | « content/browser/device_sensors/device_sensor_service.cc ('k') | content/browser/device_sensors/sensor_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698