chromium/components/reporting/util/rate_limiter_token_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_token_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 {

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

RateLimiterTokenBucket::~RateLimiterTokenBucket() {}

bool RateLimiterTokenBucket::Acquire(size_t event_size) {}

void RateLimiterTokenBucket::NextFill() {}

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