chromium/out/Default/gen/third_party/blink/public/mojom/speculation_rules/speculation_rules.mojom-shared.cc

// third_party/blink/public/mojom/speculation_rules/speculation_rules.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 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/public/mojom/speculation_rules/speculation_rules.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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 {


// static
bool SpeculationCandidate_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

SpeculationCandidate_Data::SpeculationCandidate_Data()
    :{}


// static
bool SpeculationHost_UpdateSpeculationCandidates_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

SpeculationHost_UpdateSpeculationCandidates_Params_Data::SpeculationHost_UpdateSpeculationCandidates_Params_Data()
    :{}


// static
bool SpeculationHost_OnLCPPredicted_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

SpeculationHost_OnLCPPredicted_Params_Data::SpeculationHost_OnLCPPredicted_Params_Data()
    :{}


// static
bool SpeculationHost_InitiatePreview_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

SpeculationHost_InitiatePreview_Params_Data::SpeculationHost_InitiatePreview_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace blink

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::SpeculationAction>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::SpeculationAction value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::SpeculationTargetHint>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::SpeculationTargetHint value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::SpeculationEagerness>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::SpeculationEagerness value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::SpeculationInjectionType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::SpeculationInjectionType value) {}

} // namespace perfetto