summaryrefslogtreecommitdiff
path: root/chromium/content/common/device_sensors/device_orientation_hardware_buffer.h
blob: 92b705de2bd226164d6af0189150f167509cc4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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_ORIENTATION_HARDWARE_BUFFER_H_
#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_

#include "content/common/shared_memory_seqlock_buffer.h"
#include "third_party/WebKit/public/platform/WebDeviceOrientationData.h"

namespace content {

typedef SharedMemorySeqLockBuffer<blink::WebDeviceOrientationData>
    DeviceOrientationHardwareBuffer;

}  // namespace content

#endif  // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_