// 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/leaky_bucket.h" namespace remoting { LeakyBucket::LeakyBucket(int depth, int rate) : … { … } LeakyBucket::~LeakyBucket() = default; bool LeakyBucket::RefillOrSpill(int drops, base::TimeTicks now) { … } base::TimeTicks LeakyBucket::GetEmptyTime() { … } void LeakyBucket::UpdateRate(int new_rate, base::TimeTicks now) { … } void LeakyBucket::UpdateLevel(base::TimeTicks now) { … } } // namespace remoting