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

Unified Diff: device/generic_sensor/platform_sensor.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
« no previous file with comments | « device/generic_sensor/generic_sensor_export.h ('k') | device/generic_sensor/platform_sensor_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/platform_sensor.h
diff --git a/device/generic_sensor/platform_sensor.h b/device/generic_sensor/platform_sensor.h
index 9a40e3f5531ec518a417a75f67b4c43c01f7a1f1..0a2948ffb48b63989dd92509b602b730ebf7735c 100644
--- a/device/generic_sensor/platform_sensor.h
+++ b/device/generic_sensor/platform_sensor.h
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
+#include "device/generic_sensor/generic_sensor_export.h"
#include "device/generic_sensor/public/cpp/sensor_reading.h"
#include "device/generic_sensor/public/interfaces/sensor.mojom.h"
#include "mojo/public/cpp/system/buffer.h"
@@ -23,7 +24,8 @@ class PlatformSensorConfiguration;
// Base class for the sensors provided by the platform. Concrete instances of
// this class are created by platform specific PlatformSensorProvider.
-class PlatformSensor : public base::RefCountedThreadSafe<PlatformSensor> {
+class DEVICE_GENERIC_SENSOR_EXPORT PlatformSensor
+ : public base::RefCountedThreadSafe<PlatformSensor> {
public:
// The interface that must be implemented by PlatformSensor clients.
class Client {
« no previous file with comments | « device/generic_sensor/generic_sensor_export.h ('k') | device/generic_sensor/platform_sensor_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698