#include "components/memory_pressure/memory_pressure_level_reporter.h"
#include "base/functional/bind.h"
#include "base/memory/memory_pressure_listener.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/strcat.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"
namespace memory_pressure {
MemoryPressureLevelReporter::MemoryPressureLevelReporter(
MemoryPressureLevel initial_pressure_level)
: … { … }
MemoryPressureLevelReporter::~MemoryPressureLevelReporter() { … }
void MemoryPressureLevelReporter::OnMemoryPressureLevelChanged(
MemoryPressureLevel new_level) { … }
void MemoryPressureLevelReporter::ReportHistogram(base::TimeTicks now) { … }
void MemoryPressureLevelReporter::StartPeriodicTimer() { … }
}