#include "third_party/blink/renderer/core/speculation_rules/speculation_candidate.h"
#include "third_party/blink/renderer/core/html/html_anchor_element.h"
#include "third_party/blink/renderer/core/speculation_rules/speculation_rule_set.h"
#include "third_party/blink/renderer/platform/heap/visitor.h"
namespace blink {
SpeculationCandidate::SpeculationCandidate(
const KURL& url,
mojom::blink::SpeculationAction action,
const Referrer& referrer,
bool requires_anonymous_client_ip_when_cross_origin,
mojom::blink::SpeculationTargetHint target_hint,
mojom::blink::SpeculationEagerness eagerness,
network::mojom::blink::NoVarySearchPtr no_vary_search,
mojom::blink::SpeculationInjectionType injection_type,
SpeculationRuleSet* rule_set,
HTMLAnchorElement* anchor)
: … { … }
void SpeculationCandidate::Trace(Visitor* visitor) const { … }
mojom::blink::SpeculationCandidatePtr SpeculationCandidate::ToMojom() const { … }
}