Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
..
README.md 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
ad_frame_voter.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
ad_frame_voter.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
ad_frame_voter_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
boosting_vote_aggregator.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
boosting_vote_aggregator.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
boosting_vote_aggregator_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
execution_context_priority.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
execution_context_priority_decorator.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
execution_context_priority_decorator.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
execution_context_priority_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
frame_audible_voter.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
frame_audible_voter.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
frame_audible_voter_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
frame_visibility_voter.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
frame_visibility_voter.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
frame_visibility_voter_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
inherit_client_priority_voter.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
inherit_client_priority_voter.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
inherit_client_priority_voter_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
max_vote_aggregator.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
max_vote_aggregator.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
max_vote_aggregator_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
override_vote_aggregator.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
override_vote_aggregator.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
override_vote_aggregator_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
root_vote_observer.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
root_vote_observer.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
root_vote_observer_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago

README.md

The ExecutionContextPriorityDecorator is responsible for assigning the priority of all the frames and workers in the graph.

This is done through a system of voting where each voter can increase the priority of an execution context independently, and the vote with the highest priority determines which priority the given frame or worker will be assigned.

The RootVoteObserver is a simple layer on top of the voting system that receives the final vote for an execution context and does the actual assignment to the graph node.

Each voter tracks a single property of an execution context and casts their vote via their voting channel to the MaxVoteAggregator.

A notable exception is the AdFrameVoter, which casts a «negative» vote which can reduce the priority of an execution context by overriding the vote of all the other voters.