chromium/components/reporting/metrics/delayed_sampler.h

// 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.

#ifndef COMPONENTS_REPORTING_METRICS_DELAYED_SAMPLER_H_
#define COMPONENTS_REPORTING_METRICS_DELAYED_SAMPLER_H_

#include <memory>

#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "components/reporting/metrics/sampler.h"

namespace reporting {

// A `Sampler` subclass that takes ownership of an existing `Sampler` and
// delays the collection of that sampler by `delay` amount
// of time.
class DelayedSampler : public Sampler {};

}  // namespace reporting

#endif  // COMPONENTS_REPORTING_METRICS_DELAYED_SAMPLER_H_