#include "components/performance_manager/public/graph/graph_operations.h"
#include "components/performance_manager/graph/frame_node_impl.h"
#include "components/performance_manager/graph/graph_impl_operations.h"
#include "components/performance_manager/graph/graph_impl_util.h"
#include "components/performance_manager/graph/page_node_impl.h"
#include "components/performance_manager/graph/process_node_impl.h"
#include "components/performance_manager/graph/worker_node_impl.h"
namespace performance_manager {
base::flat_set<const PageNode*> GraphOperations::GetAssociatedPageNodes(
const ProcessNode* process) { … }
base::flat_set<const ProcessNode*> GraphOperations::GetAssociatedProcessNodes(
const PageNode* page) { … }
std::vector<const FrameNode*> GraphOperations::GetFrameNodes(
const PageNode* page) { … }
bool GraphOperations::VisitFrameTreePreOrder(const PageNode* page,
FrameNodeVisitor visitor) { … }
bool GraphOperations::VisitFrameTreePostOrder(const PageNode* page,
FrameNodeVisitor visitor) { … }
bool GraphOperations::VisitPageAndEmbedsPreOrder(const PageNode* page,
PageNodeVisitor visitor) { … }
bool GraphOperations::HasFrame(const PageNode* page, const FrameNode* frame) { … }
bool GraphOperations::VisitAllWorkerClients(const WorkerNode* worker,
FrameNodeVisitor frame_visitor,
WorkerNodeVisitor worker_visitor) { … }
}