#include "components/performance_manager/render_process_user_data.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "components/performance_manager/graph/process_node_impl.h"
#include "components/performance_manager/performance_manager_impl.h"
#include "components/performance_manager/public/render_process_host_id.h"
#include "components/performance_manager/public/render_process_host_proxy.h"
#include "content/public/browser/child_process_termination_info.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/content_switches.h"
namespace performance_manager {
namespace {
const void* const kRenderProcessUserDataKey = …;
}
RenderProcessUserData::RenderProcessUserData(
content::RenderProcessHost* render_process_host)
: … { … }
RenderProcessUserData::~RenderProcessUserData() { … }
const void* RenderProcessUserData::UserDataKey() { … }
RenderProcessUserData* RenderProcessUserData::GetForRenderProcessHost(
content::RenderProcessHost* host) { … }
void RenderProcessUserData::SetDestructionObserver(
DestructionObserver* destruction_observer) { … }
void RenderProcessUserData::OnProcessLaunched() { … }
RenderProcessUserData* RenderProcessUserData::CreateForRenderProcessHost(
content::RenderProcessHost* host) { … }
void RenderProcessUserData::RenderProcessExited(
content::RenderProcessHost* host,
const content::ChildProcessTerminationInfo& info) { … }
void RenderProcessUserData::RenderProcessHostDestroyed(
content::RenderProcessHost* host) { … }
}