chromium/third_party/blink/renderer/core/speculation_rules/speculation_candidate.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {}

}  // namespace blink