// Copyright 2011 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/rate_counter.h" #include "base/check_op.h" namespace remoting { RateCounter::RateCounter(base::TimeDelta time_window) : … { … } RateCounter::RateCounter(base::TimeDelta time_window, const base::TickClock* tick_clock) : … { … } RateCounter::~RateCounter() { … } void RateCounter::Record(int64_t value) { … } double RateCounter::Rate() const { … } void RateCounter::EvictOldDataPoints(base::TimeTicks now) { … } } // namespace remoting