#include "components/performance_manager/execution_context_priority/inherit_parent_priority_voter.h"
#include "base/memory/raw_ptr.h"
#include "components/performance_manager/public/execution_context/execution_context.h"
#include "components/performance_manager/public/graph/graph.h"
#include "components/performance_manager/test_support/graph_test_harness.h"
#include "components/performance_manager/test_support/mock_graphs.h"
#include "components/performance_manager/test_support/voting.h"
namespace performance_manager::execution_context_priority {
DummyVoteObserver;
namespace {
const execution_context::ExecutionContext* GetExecutionContext(
const FrameNode* frame_node) { … }
class GraphOwnedWrapper : public GraphOwned { … };
static const char kDummyReason[] = …;
}
class InheritParentPriorityVoterTest : public GraphTestHarness { … };
TEST_F(InheritParentPriorityVoterTest, ChildFrame) { … }
TEST_F(InheritParentPriorityVoterTest, AdFrame) { … }
}