#include "third_party/blink/public/mojom/speculation_rules/speculation_rules.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/speculation_rules/speculation_rules.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* SpeculationActionToStringHelper(SpeculationAction value) { … }
std::string SpeculationActionToString(SpeculationAction value) { … }
std::ostream& operator<<(std::ostream& os, SpeculationAction value) { … }
NOINLINE static const char* SpeculationTargetHintToStringHelper(SpeculationTargetHint value) { … }
std::string SpeculationTargetHintToString(SpeculationTargetHint value) { … }
std::ostream& operator<<(std::ostream& os, SpeculationTargetHint value) { … }
NOINLINE static const char* SpeculationEagernessToStringHelper(SpeculationEagerness value) { … }
std::string SpeculationEagernessToString(SpeculationEagerness value) { … }
std::ostream& operator<<(std::ostream& os, SpeculationEagerness value) { … }
NOINLINE static const char* SpeculationInjectionTypeToStringHelper(SpeculationInjectionType value) { … }
std::string SpeculationInjectionTypeToString(SpeculationInjectionType value) { … }
std::ostream& operator<<(std::ostream& os, SpeculationInjectionType value) { … }
namespace internal {
bool SpeculationCandidate_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeculationCandidate_Data::SpeculationCandidate_Data()
: … { … }
bool SpeculationHost_UpdateSpeculationCandidates_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeculationHost_UpdateSpeculationCandidates_Params_Data::SpeculationHost_UpdateSpeculationCandidates_Params_Data()
: … { … }
bool SpeculationHost_OnLCPPredicted_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeculationHost_OnLCPPredicted_Params_Data::SpeculationHost_OnLCPPredicted_Params_Data()
: … { … }
bool SpeculationHost_InitiatePreview_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeculationHost_InitiatePreview_Params_Data::SpeculationHost_InitiatePreview_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::SpeculationAction>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::SpeculationAction value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::SpeculationTargetHint>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::SpeculationTargetHint value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::SpeculationEagerness>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::SpeculationEagerness value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::SpeculationInjectionType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::SpeculationInjectionType value) { … }
}