Index: device/generic_sensor/platform_sensor_mac.h |
diff --git a/device/generic_sensor/platform_sensor_mac.h b/device/generic_sensor/platform_sensor_mac.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5bba1f1b28e75e02535f0d778995842e067eb21 |
--- /dev/null |
+++ b/device/generic_sensor/platform_sensor_mac.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_MAC_H_ |
+#define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_MAC_H_ |
+ |
+#include "device/generic_sensor/platform_sensor.h" |
+ |
+namespace device { |
+ |
+class PlatformSensorMac : public PlatformSensor { |
+ using PlatformSensor::PlatformSensor; |
+ |
+ public: |
+ virtual void UpdateReading() = 0; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(PlatformSensorMac); |
+}; |
+ |
+} // namespace device |
+ |
+#endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_MAC_H_ |