Index: device/device_sensors/device_light_hardware_buffer.h |
diff --git a/device/device_sensors/device_light_hardware_buffer.h b/device/device_sensors/device_light_hardware_buffer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9205c3483d47765274332d024b51acd6bd190b77 |
--- /dev/null |
+++ b/device/device_sensors/device_light_hardware_buffer.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 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_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ |
+#define DEVICE_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ |
+ |
+#include "components/shared_memory_seqlock/shared_memory_seqlock_buffer.h" |
+#include "device/device_sensors/device_light_data.h" |
+ |
+namespace device { |
+ |
+typedef shared_memory_seqlock::SharedMemorySeqLockBuffer<DeviceLightData> |
+ DeviceLightHardwareBuffer; |
+ |
+} // namespace device |
+ |
+#endif // DEVICE_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ |