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

Unified Diff: content/common/device_sensors/device_light_hardware_buffer.h

Issue 286793002: [DeviceLight] Add renderer+common parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen's comments Created 6 years, 6 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: content/common/device_sensors/device_light_hardware_buffer.h
diff --git a/content/common/device_sensors/device_light_hardware_buffer.h b/content/common/device_sensors/device_light_hardware_buffer.h
new file mode 100644
index 0000000000000000000000000000000000000000..dcd0f1b57f7de926982f63d649dbbedfc9f74306
--- /dev/null
+++ b/content/common/device_sensors/device_light_hardware_buffer.h
@@ -0,0 +1,17 @@
+// 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 CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_
+#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_
+
+#include "content/common/device_sensors/device_light_data.h"
+#include "content/common/shared_memory_seqlock_buffer.h"
+
+namespace content {
+
+typedef SharedMemorySeqLockBuffer<DeviceLightData> DeviceLightHardwareBuffer;
+
+} // namespace content
+
+#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_
« no previous file with comments | « content/common/device_sensors/device_light_data.h ('k') | content/common/device_sensors/device_light_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698