// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEVICE_VR_UTIL_SAMPLE_QUEUE_H_ #define DEVICE_VR_UTIL_SAMPLE_QUEUE_H_ #include <cstddef> #include <vector> #include "base/component_export.h" namespace device { // Manages a fixed-size queue of samples including their current sum. Old // samples are automatically dropped when an added sample would exceed the // requested size. class COMPONENT_EXPORT(DEVICE_VR_UTIL) SampleQueue { … }; } // namespace device #endif // DEVICE_VR_UTIL_SAMPLE_QUEUE_H_