#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SPECULATION_RULES_SPECULATION_RULES_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SPECULATION_RULES_SPECULATION_RULES_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "third_party/blink/public/mojom/speculation_rules/speculation_rules.mojom-shared-internal.h"
#include "services/network/public/mojom/no_vary_search.mojom-shared.h"
#include "third_party/blink/public/mojom/loader/referrer.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "base/component_export.h"
namespace blink::mojom {
class SpeculationCandidateDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::SpeculationCandidateDataView> { … };
}
}
namespace blinkmojom
namespace std {
template <>
struct hash<::blink::mojom::SpeculationAction>
: public mojo::internal::EnumHashImpl<::blink::mojom::SpeculationAction> { … };
template <>
struct hash<::blink::mojom::SpeculationTargetHint>
: public mojo::internal::EnumHashImpl<::blink::mojom::SpeculationTargetHint> { … };
template <>
struct hash<::blink::mojom::SpeculationEagerness>
: public mojo::internal::EnumHashImpl<::blink::mojom::SpeculationEagerness> { … };
template <>
struct hash<::blink::mojom::SpeculationInjectionType>
: public mojo::internal::EnumHashImpl<::blink::mojom::SpeculationInjectionType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::SpeculationAction, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::SpeculationTargetHint, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::SpeculationEagerness, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::SpeculationInjectionType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::SpeculationCandidateDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void SpeculationCandidateDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void SpeculationCandidateDataView::GetReferrerDataView(
::blink::mojom::ReferrerDataView* output) { … }
inline void SpeculationCandidateDataView::GetNoVarySearchHintDataView(
::network::mojom::NoVarySearchDataView* output) { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::SpeculationAction> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::SpeculationTargetHint> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::SpeculationEagerness> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::SpeculationInjectionType> { … };
}
#endif