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

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

Issue 2431163004: [sensors] Make generic_sensor a component (Closed)
Patch Set: Win Clang Created 4 years, 2 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 be19708b16408fe0148c275fb2c09077b121ae6f..950903c08f714a03143ec731d7817a5d508767cf 100644
--- a/device/generic_sensor/public/cpp/sensor_reading.h
+++ b/device/generic_sensor/public/cpp/sensor_reading.h
@@ -6,6 +6,7 @@
#define DEVICE_GENERIC_SENSOR_PUBLIC_CPP_SENSOR_READING_H_
#include "device/base/synchronization/one_writer_seqlock.h"
+#include "device/generic_sensor/generic_sensor_export.h"
#include "device/generic_sensor/public/interfaces/sensor.mojom.h"
namespace device {
@@ -39,7 +40,7 @@ class SensorReadingField {
};
// This structure represents sensor reading data: timestamp and 3 values.
-struct SensorReading {
+struct DEVICE_GENERIC_SENSOR_EXPORT SensorReading {
SensorReading();
~SensorReading();
SensorReading(const SensorReading& other);
« no previous file with comments | « device/generic_sensor/public/cpp/platform_sensor_configuration.h ('k') | device/generic_sensor/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698