chromium/components/reporting/util/rate_limiter_leaky_bucket.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/reporting/util/rate_limiter_leaky_bucket.h"

#include <cmath>
#include <cstddef>

#include "base/check.h"
#include "base/memory/weak_ptr.h"
#include "base/sequence_checker.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"

namespace reporting {

RateLimiterLeakyBucket::RateLimiterLeakyBucket(size_t max_level,
                                               base::TimeDelta filling_time,
                                               base::TimeDelta filling_period)
    :{}

RateLimiterLeakyBucket::~RateLimiterLeakyBucket() {}

bool RateLimiterLeakyBucket::Acquire(size_t event_size) {}

void RateLimiterLeakyBucket::NextFill() {}

void RateLimiterLeakyBucket::ScheduleNextFill() {}
}  // namespace reporting