chromium/device/vr/util/sliding_average.cc

// 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.

#include "device/vr/util/sliding_average.h"

namespace device {

SlidingAverage::SlidingAverage(size_t window_size) :{}

SlidingAverage::~SlidingAverage() = default;

void SlidingAverage::AddSample(int64_t value) {}

int64_t SlidingAverage::GetAverageOrDefault(int64_t default_value) const {}

SlidingTimeDeltaAverage::SlidingTimeDeltaAverage(size_t window_size)
    :{}

SlidingTimeDeltaAverage::~SlidingTimeDeltaAverage() = default;

void SlidingTimeDeltaAverage::AddSample(base::TimeDelta value) {}

base::TimeDelta SlidingTimeDeltaAverage::GetAverageOrDefault(
    base::TimeDelta default_value) const {}

}  // namespace device