chromium/components/reporting/util/rate_limiter_slide_window.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_slide_window.h"

#include <cstddef>
#include <utility>

#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 {

RateLimiterSlideWindow::RateLimiterSlideWindow(size_t total_size,
                                               base::TimeDelta time_window,
                                               size_t bucket_count)
    :{}

RateLimiterSlideWindow::~RateLimiterSlideWindow() {}

void RateLimiterSlideWindow::TrimBuckets(base::Time now) {}

void RateLimiterSlideWindow::BucketsShift() {}

bool RateLimiterSlideWindow::Acquire(size_t event_size) {}
}  // namespace reporting