#include "components/reporting/metrics/delayed_sampler.h"
#include <memory>
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"
#include "components/reporting/metrics/sampler.h"
namespace reporting {
DelayedSampler::DelayedSampler(std::unique_ptr<Sampler> sampler,
base::TimeDelta delay)
: … { … }
DelayedSampler::~DelayedSampler() = default;
void DelayedSampler::MaybeCollect(OptionalMetricCallback callback) { … }
void DelayedSampler::CollectInternal(OptionalMetricCallback callback) { … }
}