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

#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/metrics/histogram_functions.h"
#include "base/sequence_checker.h"
#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/threading/sequence_bound.h"
#include "components/reporting/util/rate_limiter_interface.h"

namespace reporting {

// static
WrappedRateLimiter::SmartPtr WrappedRateLimiter::Create(
    std::unique_ptr<RateLimiterInterface> rate_limiter) {}

WrappedRateLimiter::~WrappedRateLimiter() {}

// static
bool WrappedRateLimiter::Acquire(base::WeakPtr<WrappedRateLimiter> self,
                                 size_t event_size) {}

// static
void WrappedRateLimiter::AsyncAcquire(base::WeakPtr<WrappedRateLimiter> self,
                                      size_t event_size,
                                      base::OnceCallback<void(bool)> cb) {}

WrappedRateLimiter::AsyncAcquireCb WrappedRateLimiter::async_acquire_cb()
    const {}

WrappedRateLimiter::WrappedRateLimiter(
    scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner,
    std::unique_ptr<RateLimiterInterface> rate_limiter)
    :{}
}  // namespace reporting