#include "components/performance_manager/decorators/process_priority_aggregator.h"
#include "components/performance_manager/graph/process_node_impl.h"
#include "components/performance_manager/public/execution_context/execution_context_registry.h"
#include "components/performance_manager/public/graph/node_data_describer_registry.h"
namespace performance_manager {
namespace {
const char kDescriberName[] = …;
}
ProcessPriorityAggregator::ProcessPriorityAggregator() = default;
ProcessPriorityAggregator::~ProcessPriorityAggregator() = default;
void ProcessPriorityAggregator::OnPassedToGraph(Graph* graph) { … }
void ProcessPriorityAggregator::OnTakenFromGraph(Graph* graph) { … }
base::Value::Dict ProcessPriorityAggregator::DescribeProcessNodeData(
const ProcessNode* node) const { … }
void ProcessPriorityAggregator::OnProcessNodeAdded(
const ProcessNode* process_node) { … }
void ProcessPriorityAggregator::OnBeforeProcessNodeRemoved(
const ProcessNode* process_node) { … }
void ProcessPriorityAggregator::OnExecutionContextAdded(
const execution_context::ExecutionContext* ec) { … }
void ProcessPriorityAggregator::OnBeforeExecutionContextRemoved(
const execution_context::ExecutionContext* ec) { … }
void ProcessPriorityAggregator::OnPriorityAndReasonChanged(
const execution_context::ExecutionContext* ec,
const PriorityAndReason& previous_value) { … }
}