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

Unified Diff: content/browser/device_sensors/sensor_manager_chromeos.cc

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
« no previous file with comments | « content/browser/device_sensors/sensor_manager_android_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/device_sensors/sensor_manager_chromeos.cc
diff --git a/content/browser/device_sensors/sensor_manager_chromeos.cc b/content/browser/device_sensors/sensor_manager_chromeos.cc
index 3544749d6e498f7ea837aacaaccaaa81b41a20b0..55019ea4aa4027e9b203e0904cb43998b9e26f43 100644
--- a/content/browser/device_sensors/sensor_manager_chromeos.cc
+++ b/content/browser/device_sensors/sensor_manager_chromeos.cc
@@ -35,7 +35,7 @@ void SensorManagerChromeOS::StartFetchingDeviceMotionData(
// The interval between updates is the longer of the rate set on the buffer,
// and the rate at which AccelerometerReader polls the sensor.
motion_buffer_->data.interval =
- std::max(kInertialSensorIntervalMicroseconds / 1000,
+ std::max(kDeviceSensorIntervalMicroseconds / 1000,
chromeos::AccelerometerReader::kDelayBetweenReadsMs);
motion_buffer_->seqlock.WriteEnd();
« no previous file with comments | « content/browser/device_sensors/sensor_manager_android_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698