#include "components/performance_manager/execution_context_priority/ad_frame_voter.h"
#include <utility>
#include "components/performance_manager/public/execution_context/execution_context_registry.h"
#include "components/performance_manager/public/graph/graph.h"
#include "url/gurl.h"
namespace performance_manager {
namespace execution_context_priority {
namespace {
const execution_context::ExecutionContext* GetExecutionContext(
const FrameNode* frame_node) { … }
}
const char AdFrameVoter::kAdFrameReason[] = …;
AdFrameVoter::AdFrameVoter(VotingChannel voting_channel)
: … { … }
AdFrameVoter::~AdFrameVoter() = default;
void AdFrameVoter::InitializeOnGraph(Graph* graph) { … }
void AdFrameVoter::TearDownOnGraph(Graph* graph) { … }
void AdFrameVoter::OnFrameNodeInitializing(const FrameNode* frame_node) { … }
void AdFrameVoter::OnFrameNodeTearingDown(const FrameNode* frame_node) { … }
void AdFrameVoter::OnIsAdFrameChanged(const FrameNode* frame_node) { … }
}
}