Index: device/device_sensors/device_orientation_hardware_buffer.h |
diff --git a/device/device_sensors/device_orientation_hardware_buffer.h b/device/device_sensors/device_orientation_hardware_buffer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..70954e10dc6d5801dfc824cf2bafed78feadb473 |
--- /dev/null |
+++ b/device/device_sensors/device_orientation_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_ORIENTATION_HARDWARE_BUFFER_H_ |
+#define DEVICE_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ |
+ |
+#include "components/shared_memory_seqlock/shared_memory_seqlock_buffer.h" |
+#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h" |
+ |
+namespace device { |
+ |
+typedef shared_memory_seqlock::SharedMemorySeqLockBuffer< |
+ blink::WebDeviceOrientationData> DeviceOrientationHardwareBuffer; |
+ |
+} // namespace device |
+ |
+#endif // DEVICE_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ |