#include "components/metrics/expired_histograms_checker.h"
#include <algorithm>
#include <string_view>
#include <vector>
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "base/metrics/metrics_hashes.h"
#include "base/metrics/statistics_recorder.h"
#include "base/strings/string_split.h"
namespace metrics {
ExpiredHistogramsChecker::ExpiredHistogramsChecker(
base::span<const uint32_t> expired_histogram_hashes,
const std::string& allowlist_str)
: … { … }
ExpiredHistogramsChecker::~ExpiredHistogramsChecker() = default;
bool ExpiredHistogramsChecker::ShouldRecord(uint32_t histogram_hash) const { … }
void ExpiredHistogramsChecker::InitAllowlist(const std::string& allowlist_str) { … }
}