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

Unified Diff: device/generic_sensor/public/cpp/sensor_reading.h

Issue 2726093003: [sensors][android] Add support for AbsoluteOrientation sensor (Closed)
Patch Set: Rebased to master, rename enum Created 3 years, 9 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: device/generic_sensor/public/cpp/sensor_reading.h
diff --git a/device/generic_sensor/public/cpp/sensor_reading.h b/device/generic_sensor/public/cpp/sensor_reading.h
index 90848d7a6adf532b424c2e61e37dbadd4c828370..81e2f76822c58886b72e409563e94086bd74f252 100644
--- a/device/generic_sensor/public/cpp/sensor_reading.h
+++ b/device/generic_sensor/public/cpp/sensor_reading.h
@@ -39,13 +39,13 @@ class SensorReadingField {
Storage storage_;
};
-// This structure represents sensor reading data: timestamp and 3 values.
+// This structure represents sensor reading data: timestamp and 4 values.
struct DEVICE_GENERIC_SENSOR_PUBLIC_EXPORT SensorReading {
SensorReading();
~SensorReading();
SensorReading(const SensorReading& other);
SensorReadingField<double> timestamp;
- constexpr static int kValuesCount = 3;
+ constexpr static int kValuesCount = 4;
SensorReadingField<double> values[kValuesCount];
};
« no previous file with comments | « device/generic_sensor/platform_sensor_android.cc ('k') | device/generic_sensor/public/interfaces/sensor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698