chromium/components/performance_manager/graph/worker_node_impl.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/worker_node_impl.h"

#include "base/memory/raw_ptr.h"
#include "components/performance_manager/graph/frame_node_impl.h"
#include "components/performance_manager/graph/process_node_impl.h"
#include "content/public/browser/browser_thread.h"

namespace performance_manager {

// static
constexpr char WorkerNodeImpl::kDefaultPriorityReason[] =;

PriorityAndReason;

WorkerNodeImpl::WorkerNodeImpl(const std::string& browser_context_id,
                               WorkerType worker_type,
                               ProcessNodeImpl* process_node,
                               const blink::WorkerToken& worker_token,
                               const url::Origin& origin)
    :{}

WorkerNodeImpl::~WorkerNodeImpl() {}

WorkerNode::WorkerType WorkerNodeImpl::GetWorkerType() const {}

const std::string& WorkerNodeImpl::GetBrowserContextID() const {}

const blink::WorkerToken& WorkerNodeImpl::GetWorkerToken() const {}

resource_attribution::WorkerContext WorkerNodeImpl::GetResourceContext() const {}

const GURL& WorkerNodeImpl::GetURL() const {}

const url::Origin& WorkerNodeImpl::GetOrigin() const {}

const PriorityAndReason& WorkerNodeImpl::GetPriorityAndReason() const {}

uint64_t WorkerNodeImpl::GetResidentSetKbEstimate() const {}

uint64_t WorkerNodeImpl::GetPrivateFootprintKbEstimate() const {}

void WorkerNodeImpl::AddClientFrame(FrameNodeImpl* frame_node) {}

void WorkerNodeImpl::RemoveClientFrame(FrameNodeImpl* frame_node) {}

void WorkerNodeImpl::AddClientWorker(WorkerNodeImpl* worker_node) {}

void WorkerNodeImpl::RemoveClientWorker(WorkerNodeImpl* worker_node) {}

void WorkerNodeImpl::SetPriorityAndReason(
    const PriorityAndReason& priority_and_reason) {}

void WorkerNodeImpl::SetResidentSetKbEstimate(uint64_t rss_estimate) {}

void WorkerNodeImpl::SetPrivateFootprintKbEstimate(uint64_t pmf_estimate) {}

void WorkerNodeImpl::OnFinalResponseURLDetermined(const GURL& url) {}

ProcessNodeImpl* WorkerNodeImpl::process_node() const {}

WorkerNode::NodeSetView<FrameNodeImpl*> WorkerNodeImpl::client_frames() const {}

WorkerNode::NodeSetView<WorkerNodeImpl*> WorkerNodeImpl::client_workers()
    const {}

WorkerNode::NodeSetView<WorkerNodeImpl*> WorkerNodeImpl::child_workers() const {}

base::WeakPtr<WorkerNodeImpl> WorkerNodeImpl::GetWeakPtrOnUIThread() {}

base::WeakPtr<WorkerNodeImpl> WorkerNodeImpl::GetWeakPtr() {}

void WorkerNodeImpl::OnJoiningGraph() {}

void WorkerNodeImpl::OnBeforeLeavingGraph() {}

void WorkerNodeImpl::RemoveNodeAttachedData() {}

const ProcessNode* WorkerNodeImpl::GetProcessNode() const {}

WorkerNode::NodeSetView<const FrameNode*> WorkerNodeImpl::GetClientFrames()
    const {}

WorkerNode::NodeSetView<const WorkerNode*> WorkerNodeImpl::GetClientWorkers()
    const {}

WorkerNode::NodeSetView<const WorkerNode*> WorkerNodeImpl::GetChildWorkers()
    const {}

void WorkerNodeImpl::AddChildWorker(WorkerNodeImpl* worker_node) {}

void WorkerNodeImpl::RemoveChildWorker(WorkerNodeImpl* worker_node) {}

}  // namespace performance_manager