#include "base/metrics/histogram_snapshot_manager.h"
#include <memory>
#include "base/debug/alias.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/metrics/histogram_flattener.h"
#include "base/metrics/histogram_samples.h"
namespace base {
HistogramSnapshotManager::HistogramSnapshotManager(
HistogramFlattener* histogram_flattener)
: … { … }
HistogramSnapshotManager::~HistogramSnapshotManager() = default;
void HistogramSnapshotManager::PrepareDeltas(
const std::vector<HistogramBase*>& histograms,
HistogramBase::Flags flags_to_set,
HistogramBase::Flags required_flags) { … }
void HistogramSnapshotManager::SnapshotUnloggedSamples(
const std::vector<HistogramBase*>& histograms,
HistogramBase::Flags required_flags) { … }
void HistogramSnapshotManager::MarkUnloggedSamplesAsLogged() { … }
void HistogramSnapshotManager::PrepareDelta(HistogramBase* histogram) { … }
void HistogramSnapshotManager::PrepareFinalDelta(
const HistogramBase* histogram) { … }
void HistogramSnapshotManager::PrepareSamples(const HistogramBase* histogram,
const HistogramSamples& samples) { … }
}