// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/base/running_samples.h" #include <algorithm> #include "base/check_op.h" namespace remoting { RunningSamples::RunningSamples(int window_size) : … { … } RunningSamples::~RunningSamples() { … } void RunningSamples::Record(int64_t value) { … } double RunningSamples::Average() const { … } int64_t RunningSamples::Max() const { … } bool RunningSamples::IsEmpty() const { … } } // namespace remoting