#include "chrome/browser/metrics/metrics_memory_details.h"
#include <stddef.h>
#include <vector>
#include "base/location.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/site_isolation/site_details.h"
#include "components/nacl/common/nacl_process_type.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host.h"
#include "content/public/browser/render_widget_host_iterator.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_constants.h"
#include "content/public/common/process_type.h"
#include "ppapi/buildflags/buildflags.h"
namespace {
void CountRenderProcessHosts(size_t* initialized_and_not_dead, size_t* all) { … }
}
MetricsMemoryDetails::MetricsMemoryDetails(base::OnceClosure callback)
: … { … }
MetricsMemoryDetails::~MetricsMemoryDetails() { … }
void MetricsMemoryDetails::OnDetailsAvailable() { … }
void MetricsMemoryDetails::UpdateHistograms() { … }
void MetricsMemoryDetails::UpdateSiteIsolationMetrics(
size_t live_process_count) { … }