chromium/components/performance_manager/graph/graph_impl_operations.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/performance_manager/graph/graph_impl_operations.h"

#include <set>

#include "base/memory/raw_ptr.h"
#include "components/performance_manager/graph/frame_node_impl.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 {

namespace {

bool VisitWorkerClientFrames(
    const WorkerNodeImpl* worker,
    GraphImplOperations::FrameNodeImplVisitor frame_visitor,
    std::set<const FrameNodeImpl*>& visited_frames) {}

bool VisitWorkerAndClients(
    WorkerNodeImpl* worker,
    GraphImplOperations::FrameNodeImplVisitor frame_visitor,
    GraphImplOperations::WorkerNodeImplVisitor worker_visitor,
    std::set<const FrameNodeImpl*>& visited_frames,
    std::set<const WorkerNodeImpl*>& visited_workers) {}

}  // namespace

// static
base::flat_set<raw_ptr<PageNodeImpl, CtnExperimental>>
GraphImplOperations::GetAssociatedPageNodes(const ProcessNodeImpl* process) {}

// static
base::flat_set<raw_ptr<ProcessNodeImpl, CtnExperimental>>
GraphImplOperations::GetAssociatedProcessNodes(const PageNodeImpl* page) {}

// static
std::vector<FrameNodeImpl*> GraphImplOperations::GetFrameNodes(
    const PageNodeImpl* page) {}

// static
bool GraphImplOperations::VisitFrameAndChildrenPreOrder(
    FrameNodeImpl* frame,
    GraphImplOperations::FrameNodeImplVisitor visitor) {}

// static
bool GraphImplOperations::VisitFrameAndChildrenPostOrder(
    FrameNodeImpl* frame,
    GraphImplOperations::FrameNodeImplVisitor visitor) {}

// static
bool GraphImplOperations::VisitFrameTreePreOrder(const PageNodeImpl* page,
                                                 FrameNodeImplVisitor visitor) {}

// static
bool GraphImplOperations::VisitFrameTreePostOrder(
    const PageNodeImpl* page,
    FrameNodeImplVisitor visitor) {}

// static
bool GraphImplOperations::VisitPageAndEmbedsPreOrder(
    PageNodeImpl* page,
    PageNodeImplVisitor visitor) {}

// static
bool GraphImplOperations::HasFrame(const PageNodeImpl* page,
                                   FrameNodeImpl* frame) {}

// static
bool GraphImplOperations::VisitAllWorkerClients(
    const WorkerNodeImpl* worker,
    FrameNodeImplVisitor frame_visitor,
    WorkerNodeImplVisitor worker_visitor) {}

}  // namespace performance_manager