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

Unified Diff: content/browser/device_sensors/sensor_manager_android_unittest.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
Index: content/browser/device_sensors/sensor_manager_android_unittest.cc
diff --git a/content/browser/device_sensors/sensor_manager_android_unittest.cc b/content/browser/device_sensors/sensor_manager_android_unittest.cc
index 04aa6497f86490f702ba9b255a2cd2dbd89d3d74..f773fd8023e489ceae89fe47939d8fd7c9bba5c5 100644
--- a/content/browser/device_sensors/sensor_manager_android_unittest.cc
+++ b/content/browser/device_sensors/sensor_manager_android_unittest.cc
@@ -103,7 +103,7 @@ TEST_F(AndroidSensorManagerTest, ThreeDeviceMotionSensorsActive) {
ASSERT_TRUE(motion_buffer_->data.hasRotationRateBeta);
ASSERT_EQ(9, motion_buffer_->data.rotationRateGamma);
ASSERT_TRUE(motion_buffer_->data.hasRotationRateGamma);
- ASSERT_EQ(kInertialSensorIntervalMicroseconds / 1000.,
+ ASSERT_EQ(kDeviceSensorIntervalMicroseconds / 1000.,
motion_buffer_->data.interval);
sensorManager.StopFetchingDeviceMotionData();
@@ -123,7 +123,7 @@ TEST_F(AndroidSensorManagerTest, TwoDeviceMotionSensorsActive) {
sensorManager.GotAccelerationIncludingGravity(nullptr, nullptr, 1, 2, 3);
ASSERT_TRUE(motion_buffer_->data.allAvailableSensorsAreActive);
- ASSERT_EQ(kInertialSensorIntervalMicroseconds / 1000.,
+ ASSERT_EQ(kDeviceSensorIntervalMicroseconds / 1000.,
motion_buffer_->data.interval);
sensorManager.StopFetchingDeviceMotionData();
@@ -137,7 +137,7 @@ TEST_F(AndroidSensorManagerTest, ZeroDeviceMotionSensorsActive) {
sensorManager.StartFetchingDeviceMotionData(motion_buffer_.get());
ASSERT_TRUE(motion_buffer_->data.allAvailableSensorsAreActive);
- ASSERT_EQ(kInertialSensorIntervalMicroseconds / 1000.,
+ ASSERT_EQ(kDeviceSensorIntervalMicroseconds / 1000.,
motion_buffer_->data.interval);
sensorManager.StopFetchingDeviceMotionData();
« no previous file with comments | « content/browser/device_sensors/sensor_manager_android.cc ('k') | content/browser/device_sensors/sensor_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698