#include "components/performance_manager/tab_helper_frame_node_source.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/not_fatal_until.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
namespace performance_manager {
TabHelperFrameNodeSource::TabHelperFrameNodeSource()
: … { … }
TabHelperFrameNodeSource::~TabHelperFrameNodeSource() { … }
FrameNodeImpl* TabHelperFrameNodeSource::GetFrameNode(
content::GlobalRenderFrameHostId render_process_host_id) { … }
void TabHelperFrameNodeSource::SubscribeToFrameNode(
content::GlobalRenderFrameHostId render_process_host_id,
OnbeforeFrameNodeRemovedCallback on_before_frame_node_removed_callback) { … }
void TabHelperFrameNodeSource::UnsubscribeFromFrameNode(
content::GlobalRenderFrameHostId render_process_host_id) { … }
void TabHelperFrameNodeSource::OnBeforeFrameNodeRemoved(
PerformanceManagerTabHelper* performance_manager_tab_helper,
FrameNodeImpl* frame_node) { … }
bool TabHelperFrameNodeSource::AddObservedFrameNode(
PerformanceManagerTabHelper* performance_manager_tab_helper,
FrameNodeImpl* frame_node) { … }
bool TabHelperFrameNodeSource::RemoveObservedFrameNode(
PerformanceManagerTabHelper* performance_manager_tab_helper,
FrameNodeImpl* frame_node) { … }
}