Chromium Code Reviews| 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..5b467869b429aa88daa3bafbfcb1fab7f3dbbffa |
| --- /dev/null |
| +++ b/content/common/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 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> |
|
timvolodine
2014/06/11 15:30:06
think this fits on one line?
riju_
2014/06/12 10:34:22
Done.
|
| + DeviceLightHardwareBuffer; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ |