#include "chrome/browser/metrics/pressure/pressure_metrics.h"
#include "base/files/file_util.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/trace_event/trace_event.h"
namespace {
constexpr char kSomePrefix[] = …;
constexpr char kFullPrefix[] = …;
}
PressureMetrics::PressureMetrics(const char* histogram_name,
base::FilePath metric_path)
: … { … }
PressureMetrics::~PressureMetrics() = default;
std::optional<PressureMetrics::Sample> PressureMetrics::CollectCurrentPressure()
const { … }
void PressureMetrics::EmitCounters(const Sample& sample) const { … }
void PressureMetrics::ReportToUMA(const Sample& sample) const { … }