chromium/out/Default/gen/components/web_package/mojom/web_bundle_parser.mojom.cc

// components/web_package/mojom/web_bundle_parser.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

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

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "components/web_package/mojom/web_bundle_parser.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "components/web_package/mojom/web_bundle_parser.mojom-params-data.h"
#include "components/web_package/mojom/web_bundle_parser.mojom-shared-message-ids.h"

#include "components/web_package/mojom/web_bundle_parser.mojom-import-headers.h"
#include "components/web_package/mojom/web_bundle_parser.mojom-test-utils.h"


namespace web_package::mojom {
BundleIntegrityBlockParseError::BundleIntegrityBlockParseError()
    :{}

BundleIntegrityBlockParseError::BundleIntegrityBlockParseError(
    BundleParseErrorType type_in,
    const std::string& message_in)
    :{}

BundleIntegrityBlockParseError::~BundleIntegrityBlockParseError() = default;
size_t BundleIntegrityBlockParseError::Hash(size_t seed) const {}

void BundleIntegrityBlockParseError::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleIntegrityBlockParseError::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleMetadataParseError::BundleMetadataParseError()
    :{}

BundleMetadataParseError::BundleMetadataParseError(
    BundleParseErrorType type_in,
    const std::string& message_in)
    :{}

BundleMetadataParseError::~BundleMetadataParseError() = default;
size_t BundleMetadataParseError::Hash(size_t seed) const {}

void BundleMetadataParseError::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleMetadataParseError::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleResponseParseError::BundleResponseParseError()
    :{}

BundleResponseParseError::BundleResponseParseError(
    BundleParseErrorType type_in,
    const std::string& message_in)
    :{}

BundleResponseParseError::~BundleResponseParseError() = default;
size_t BundleResponseParseError::Hash(size_t seed) const {}

void BundleResponseParseError::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleResponseParseError::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleIntegrityBlockAttributes::BundleIntegrityBlockAttributes()
    :{}

BundleIntegrityBlockAttributes::BundleIntegrityBlockAttributes(
    const std::string& web_bundle_id_in,
    std::vector<uint8_t> cbor_in)
    :{}

BundleIntegrityBlockAttributes::~BundleIntegrityBlockAttributes() = default;

void BundleIntegrityBlockAttributes::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleIntegrityBlockAttributes::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleIntegrityBlock::BundleIntegrityBlock()
    :{}

BundleIntegrityBlock::BundleIntegrityBlock(
    uint64_t size_in,
    std::vector<BundleIntegrityBlockSignatureStackEntryPtr> signature_stack_in,
    const ::web_package::IntegrityBlockAttributes& attributes_in)
    :{}

BundleIntegrityBlock::~BundleIntegrityBlock() = default;

void BundleIntegrityBlock::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleIntegrityBlock::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
Ed25519PublicKey::Ed25519PublicKey()
    :{}

Ed25519PublicKey::Ed25519PublicKey(
    std::vector<uint8_t> bytes_in)
    :{}

Ed25519PublicKey::~Ed25519PublicKey() = default;

void Ed25519PublicKey::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Ed25519PublicKey::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
Ed25519Signature::Ed25519Signature()
    :{}

Ed25519Signature::Ed25519Signature(
    std::vector<uint8_t> bytes_in)
    :{}

Ed25519Signature::~Ed25519Signature() = default;

void Ed25519Signature::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Ed25519Signature::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SignatureInfoEd25519::SignatureInfoEd25519()
    :{}

SignatureInfoEd25519::SignatureInfoEd25519(
    const ::web_package::Ed25519PublicKey& public_key_in,
    const ::web_package::Ed25519Signature& signature_in)
    :{}

SignatureInfoEd25519::~SignatureInfoEd25519() = default;

void SignatureInfoEd25519::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SignatureInfoEd25519::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
EcdsaP256PublicKey::EcdsaP256PublicKey()
    :{}

EcdsaP256PublicKey::EcdsaP256PublicKey(
    std::vector<uint8_t> bytes_in)
    :{}

EcdsaP256PublicKey::~EcdsaP256PublicKey() = default;

void EcdsaP256PublicKey::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool EcdsaP256PublicKey::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
EcdsaP256SHA256Signature::EcdsaP256SHA256Signature()
    :{}

EcdsaP256SHA256Signature::EcdsaP256SHA256Signature(
    std::vector<uint8_t> bytes_in)
    :{}

EcdsaP256SHA256Signature::~EcdsaP256SHA256Signature() = default;

void EcdsaP256SHA256Signature::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool EcdsaP256SHA256Signature::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SignatureInfoEcdsaP256SHA256::SignatureInfoEcdsaP256SHA256()
    :{}

SignatureInfoEcdsaP256SHA256::SignatureInfoEcdsaP256SHA256(
    const ::web_package::EcdsaP256PublicKey& public_key_in,
    const ::web_package::EcdsaP256SHA256Signature& signature_in)
    :{}

SignatureInfoEcdsaP256SHA256::~SignatureInfoEcdsaP256SHA256() = default;

void SignatureInfoEcdsaP256SHA256::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SignatureInfoEcdsaP256SHA256::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SignatureInfoUnknown::SignatureInfoUnknown() {}

SignatureInfoUnknown::~SignatureInfoUnknown() = default;
size_t SignatureInfoUnknown::Hash(size_t seed) const {}

void SignatureInfoUnknown::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SignatureInfoUnknown::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleIntegrityBlockSignatureStackEntry::BundleIntegrityBlockSignatureStackEntry()
    :{}

BundleIntegrityBlockSignatureStackEntry::BundleIntegrityBlockSignatureStackEntry(
    std::vector<uint8_t> attributes_cbor_in,
    SignatureInfoPtr signature_info_in)
    :{}

BundleIntegrityBlockSignatureStackEntry::~BundleIntegrityBlockSignatureStackEntry() = default;

void BundleIntegrityBlockSignatureStackEntry::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleIntegrityBlockSignatureStackEntry::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleMetadata::BundleMetadata()
    :{}

BundleMetadata::BundleMetadata(
    BundleFormatVersion version_in,
    const std::optional<::GURL>& primary_url_in,
    base::flat_map<::GURL, BundleResponseLocationPtr> requests_in)
    :{}

BundleMetadata::~BundleMetadata() = default;

void BundleMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleResponseLocation::BundleResponseLocation()
    :{}

BundleResponseLocation::BundleResponseLocation(
    uint64_t offset_in,
    uint64_t length_in)
    :{}

BundleResponseLocation::~BundleResponseLocation() = default;
size_t BundleResponseLocation::Hash(size_t seed) const {}

void BundleResponseLocation::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleResponseLocation::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BundleResponse::BundleResponse()
    :{}

BundleResponse::BundleResponse(
    int32_t response_code_in,
    const base::flat_map<std::string, std::string>& response_headers_in,
    uint64_t payload_offset_in,
    uint64_t payload_length_in)
    :{}

BundleResponse::~BundleResponse() = default;

void BundleResponse::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BundleResponse::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SignatureInfo::SignatureInfo() :{}

SignatureInfo::~SignatureInfo() {}


void SignatureInfo::set_unknown(
    SignatureInfoUnknownPtr unknown) {}
void SignatureInfo::set_ed25519(
    SignatureInfoEd25519Ptr ed25519) {}
void SignatureInfo::set_ecdsa_p256_sha256(
    SignatureInfoEcdsaP256SHA256Ptr ecdsa_p256_sha256) {}

void SignatureInfo::DestroyActive() {}

bool SignatureInfo::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char WebBundleParserFactory::Name_[] =;

WebBundleParserFactory::IPCStableHashFunction WebBundleParserFactory::MessageToMethodInfo_(mojo::Message& message) {}


const char* WebBundleParserFactory::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t WebBundleParserFactory::GetParserForDataSource_Sym::IPCStableHash() {}
uint32_t WebBundleParserFactory::BindFileDataSource_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

WebBundleParserFactoryProxy::WebBundleParserFactoryProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void WebBundleParserFactoryProxy::GetParserForDataSource(
    ::mojo::PendingReceiver<WebBundleParser> in_receiver, const std::optional<::GURL>& in_base_url, ::mojo::PendingRemote<BundleDataSource> in_data_source) {}

void WebBundleParserFactoryProxy::BindFileDataSource(
    ::mojo::PendingReceiver<BundleDataSource> in_data_source, ::base::File in_file) {}

// static
bool WebBundleParserFactoryStubDispatch::Accept(
    WebBundleParserFactory* impl,
    mojo::Message* message) {}

// static
bool WebBundleParserFactoryStubDispatch::AcceptWithResponder(
    WebBundleParserFactory* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kWebBundleParserFactoryValidationInfo[] =;

bool WebBundleParserFactoryRequestValidator::Accept(mojo::Message* message) {}

const char WebBundleParser::Name_[] =;

WebBundleParser::IPCStableHashFunction WebBundleParser::MessageToMethodInfo_(mojo::Message& message) {}


const char* WebBundleParser::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t WebBundleParser::ParseIntegrityBlock_Sym::IPCStableHash() {}
uint32_t WebBundleParser::ParseMetadata_Sym::IPCStableHash() {}
uint32_t WebBundleParser::ParseResponse_Sym::IPCStableHash() {}
uint32_t WebBundleParser::Close_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class WebBundleParser_ParseIntegrityBlock_ForwardToCallback
    : public mojo::MessageReceiver {};

class WebBundleParser_ParseMetadata_ForwardToCallback
    : public mojo::MessageReceiver {};

class WebBundleParser_ParseResponse_ForwardToCallback
    : public mojo::MessageReceiver {};

class WebBundleParser_Close_ForwardToCallback
    : public mojo::MessageReceiver {};

WebBundleParserProxy::WebBundleParserProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void WebBundleParserProxy::ParseIntegrityBlock(
    ParseIntegrityBlockCallback callback) {}

void WebBundleParserProxy::ParseMetadata(
    std::optional<uint64_t> in_offset, ParseMetadataCallback callback) {}

void WebBundleParserProxy::ParseResponse(
    uint64_t in_response_offset, uint64_t in_response_length, ParseResponseCallback callback) {}

void WebBundleParserProxy::Close(
    CloseCallback callback) {}
class WebBundleParser_ParseIntegrityBlock_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WebBundleParser_ParseIntegrityBlock_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WebBundleParser_ParseIntegrityBlock_ProxyToResponder::Run(
    BundleIntegrityBlockPtr in_Result, BundleIntegrityBlockParseErrorPtr in_error) {}
class WebBundleParser_ParseMetadata_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WebBundleParser_ParseMetadata_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WebBundleParser_ParseMetadata_ProxyToResponder::Run(
    BundleMetadataPtr in_Result, BundleMetadataParseErrorPtr in_error) {}
class WebBundleParser_ParseResponse_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WebBundleParser_ParseResponse_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WebBundleParser_ParseResponse_ProxyToResponder::Run(
    BundleResponsePtr in_Result, BundleResponseParseErrorPtr in_error) {}
class WebBundleParser_Close_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WebBundleParser_Close_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WebBundleParser_Close_ProxyToResponder::Run(
    ) {}

// static
bool WebBundleParserStubDispatch::Accept(
    WebBundleParser* impl,
    mojo::Message* message) {}

// static
bool WebBundleParserStubDispatch::AcceptWithResponder(
    WebBundleParser* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kWebBundleParserValidationInfo[] =;

bool WebBundleParserRequestValidator::Accept(mojo::Message* message) {}

bool WebBundleParserResponseValidator::Accept(mojo::Message* message) {}
const char BundleDataSource::Name_[] =;

BundleDataSource::IPCStableHashFunction BundleDataSource::MessageToMethodInfo_(mojo::Message& message) {}


const char* BundleDataSource::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BundleDataSource::Read_Sym::IPCStableHash() {}
uint32_t BundleDataSource::Length_Sym::IPCStableHash() {}
uint32_t BundleDataSource::IsRandomAccessContext_Sym::IPCStableHash() {}
uint32_t BundleDataSource::Close_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class BundleDataSource_Read_ForwardToCallback
    : public mojo::MessageReceiver {};

class BundleDataSource_Length_ForwardToCallback
    : public mojo::MessageReceiver {};

class BundleDataSource_IsRandomAccessContext_ForwardToCallback
    : public mojo::MessageReceiver {};

class BundleDataSource_Close_ForwardToCallback
    : public mojo::MessageReceiver {};

BundleDataSourceProxy::BundleDataSourceProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void BundleDataSourceProxy::Read(
    uint64_t in_offset, uint64_t in_length, ReadCallback callback) {}

void BundleDataSourceProxy::Length(
    LengthCallback callback) {}

void BundleDataSourceProxy::IsRandomAccessContext(
    IsRandomAccessContextCallback callback) {}

void BundleDataSourceProxy::Close(
    CloseCallback callback) {}
class BundleDataSource_Read_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool BundleDataSource_Read_ForwardToCallback::Accept(
    mojo::Message* message) {}

void BundleDataSource_Read_ProxyToResponder::Run(
    const std::optional<std::vector<uint8_t>>& in_buffer) {}
class BundleDataSource_Length_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool BundleDataSource_Length_ForwardToCallback::Accept(
    mojo::Message* message) {}

void BundleDataSource_Length_ProxyToResponder::Run(
    int64_t in_length) {}
class BundleDataSource_IsRandomAccessContext_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool BundleDataSource_IsRandomAccessContext_ForwardToCallback::Accept(
    mojo::Message* message) {}

void BundleDataSource_IsRandomAccessContext_ProxyToResponder::Run(
    bool in_is_random_access) {}
class BundleDataSource_Close_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool BundleDataSource_Close_ForwardToCallback::Accept(
    mojo::Message* message) {}

void BundleDataSource_Close_ProxyToResponder::Run(
    ) {}

// static
bool BundleDataSourceStubDispatch::Accept(
    BundleDataSource* impl,
    mojo::Message* message) {}

// static
bool BundleDataSourceStubDispatch::AcceptWithResponder(
    BundleDataSource* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kBundleDataSourceValidationInfo[] =;

bool BundleDataSourceRequestValidator::Accept(mojo::Message* message) {}

bool BundleDataSourceResponseValidator::Accept(mojo::Message* message) {}


}  // web_package::mojom


namespace mojo {


// static
bool StructTraits<::web_package::mojom::BundleIntegrityBlockParseError::DataView, ::web_package::mojom::BundleIntegrityBlockParseErrorPtr>::Read(
    ::web_package::mojom::BundleIntegrityBlockParseError::DataView input,
    ::web_package::mojom::BundleIntegrityBlockParseErrorPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleMetadataParseError::DataView, ::web_package::mojom::BundleMetadataParseErrorPtr>::Read(
    ::web_package::mojom::BundleMetadataParseError::DataView input,
    ::web_package::mojom::BundleMetadataParseErrorPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleResponseParseError::DataView, ::web_package::mojom::BundleResponseParseErrorPtr>::Read(
    ::web_package::mojom::BundleResponseParseError::DataView input,
    ::web_package::mojom::BundleResponseParseErrorPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleIntegrityBlockAttributes::DataView, ::web_package::mojom::BundleIntegrityBlockAttributesPtr>::Read(
    ::web_package::mojom::BundleIntegrityBlockAttributes::DataView input,
    ::web_package::mojom::BundleIntegrityBlockAttributesPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleIntegrityBlock::DataView, ::web_package::mojom::BundleIntegrityBlockPtr>::Read(
    ::web_package::mojom::BundleIntegrityBlock::DataView input,
    ::web_package::mojom::BundleIntegrityBlockPtr* output) {}


// static
bool StructTraits<::web_package::mojom::Ed25519PublicKey::DataView, ::web_package::mojom::Ed25519PublicKeyPtr>::Read(
    ::web_package::mojom::Ed25519PublicKey::DataView input,
    ::web_package::mojom::Ed25519PublicKeyPtr* output) {}


// static
bool StructTraits<::web_package::mojom::Ed25519Signature::DataView, ::web_package::mojom::Ed25519SignaturePtr>::Read(
    ::web_package::mojom::Ed25519Signature::DataView input,
    ::web_package::mojom::Ed25519SignaturePtr* output) {}


// static
bool StructTraits<::web_package::mojom::SignatureInfoEd25519::DataView, ::web_package::mojom::SignatureInfoEd25519Ptr>::Read(
    ::web_package::mojom::SignatureInfoEd25519::DataView input,
    ::web_package::mojom::SignatureInfoEd25519Ptr* output) {}


// static
bool StructTraits<::web_package::mojom::EcdsaP256PublicKey::DataView, ::web_package::mojom::EcdsaP256PublicKeyPtr>::Read(
    ::web_package::mojom::EcdsaP256PublicKey::DataView input,
    ::web_package::mojom::EcdsaP256PublicKeyPtr* output) {}


// static
bool StructTraits<::web_package::mojom::EcdsaP256SHA256Signature::DataView, ::web_package::mojom::EcdsaP256SHA256SignaturePtr>::Read(
    ::web_package::mojom::EcdsaP256SHA256Signature::DataView input,
    ::web_package::mojom::EcdsaP256SHA256SignaturePtr* output) {}


// static
bool StructTraits<::web_package::mojom::SignatureInfoEcdsaP256SHA256::DataView, ::web_package::mojom::SignatureInfoEcdsaP256SHA256Ptr>::Read(
    ::web_package::mojom::SignatureInfoEcdsaP256SHA256::DataView input,
    ::web_package::mojom::SignatureInfoEcdsaP256SHA256Ptr* output) {}


// static
bool StructTraits<::web_package::mojom::SignatureInfoUnknown::DataView, ::web_package::mojom::SignatureInfoUnknownPtr>::Read(
    ::web_package::mojom::SignatureInfoUnknown::DataView input,
    ::web_package::mojom::SignatureInfoUnknownPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleIntegrityBlockSignatureStackEntry::DataView, ::web_package::mojom::BundleIntegrityBlockSignatureStackEntryPtr>::Read(
    ::web_package::mojom::BundleIntegrityBlockSignatureStackEntry::DataView input,
    ::web_package::mojom::BundleIntegrityBlockSignatureStackEntryPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleMetadata::DataView, ::web_package::mojom::BundleMetadataPtr>::Read(
    ::web_package::mojom::BundleMetadata::DataView input,
    ::web_package::mojom::BundleMetadataPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleResponseLocation::DataView, ::web_package::mojom::BundleResponseLocationPtr>::Read(
    ::web_package::mojom::BundleResponseLocation::DataView input,
    ::web_package::mojom::BundleResponseLocationPtr* output) {}


// static
bool StructTraits<::web_package::mojom::BundleResponse::DataView, ::web_package::mojom::BundleResponsePtr>::Read(
    ::web_package::mojom::BundleResponse::DataView input,
    ::web_package::mojom::BundleResponsePtr* output) {}

// static
bool UnionTraits<::web_package::mojom::SignatureInfo::DataView, ::web_package::mojom::SignatureInfoPtr>::Read(
    ::web_package::mojom::SignatureInfo::DataView input,
    ::web_package::mojom::SignatureInfoPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace web_package::mojom {


void WebBundleParserFactoryInterceptorForTesting::GetParserForDataSource(::mojo::PendingReceiver<WebBundleParser> receiver, const std::optional<::GURL>& base_url, ::mojo::PendingRemote<BundleDataSource> data_source) {}
void WebBundleParserFactoryInterceptorForTesting::BindFileDataSource(::mojo::PendingReceiver<BundleDataSource> data_source, ::base::File file) {}
WebBundleParserFactoryAsyncWaiter::WebBundleParserFactoryAsyncWaiter(
    WebBundleParserFactory* proxy) :{}

WebBundleParserFactoryAsyncWaiter::~WebBundleParserFactoryAsyncWaiter() = default;




void WebBundleParserInterceptorForTesting::ParseIntegrityBlock(ParseIntegrityBlockCallback callback) {}
void WebBundleParserInterceptorForTesting::ParseMetadata(std::optional<uint64_t> offset, ParseMetadataCallback callback) {}
void WebBundleParserInterceptorForTesting::ParseResponse(uint64_t response_offset, uint64_t response_length, ParseResponseCallback callback) {}
void WebBundleParserInterceptorForTesting::Close(CloseCallback callback) {}
WebBundleParserAsyncWaiter::WebBundleParserAsyncWaiter(
    WebBundleParser* proxy) :{}

WebBundleParserAsyncWaiter::~WebBundleParserAsyncWaiter() = default;

void WebBundleParserAsyncWaiter::ParseIntegrityBlock(
    BundleIntegrityBlockPtr* out_Result, BundleIntegrityBlockParseErrorPtr* out_error) {}



void WebBundleParserAsyncWaiter::ParseMetadata(
    std::optional<uint64_t> offset, BundleMetadataPtr* out_Result, BundleMetadataParseErrorPtr* out_error) {}



void WebBundleParserAsyncWaiter::ParseResponse(
    uint64_t response_offset, uint64_t response_length, BundleResponsePtr* out_Result, BundleResponseParseErrorPtr* out_error) {}



void WebBundleParserAsyncWaiter::Close(
    ) {}






void BundleDataSourceInterceptorForTesting::Read(uint64_t offset, uint64_t length, ReadCallback callback) {}
void BundleDataSourceInterceptorForTesting::Length(LengthCallback callback) {}
void BundleDataSourceInterceptorForTesting::IsRandomAccessContext(IsRandomAccessContextCallback callback) {}
void BundleDataSourceInterceptorForTesting::Close(CloseCallback callback) {}
BundleDataSourceAsyncWaiter::BundleDataSourceAsyncWaiter(
    BundleDataSource* proxy) :{}

BundleDataSourceAsyncWaiter::~BundleDataSourceAsyncWaiter() = default;

void BundleDataSourceAsyncWaiter::Read(
    uint64_t offset, uint64_t length, std::optional<std::vector<uint8_t>>* out_buffer) {}

std::optional<std::vector<uint8_t>> BundleDataSourceAsyncWaiter::Read(
    uint64_t offset, uint64_t length) {}

void BundleDataSourceAsyncWaiter::Length(
    int64_t* out_length) {}

int64_t BundleDataSourceAsyncWaiter::Length(
    ) {}

void BundleDataSourceAsyncWaiter::IsRandomAccessContext(
    bool* out_is_random_access) {}

bool BundleDataSourceAsyncWaiter::IsRandomAccessContext(
    ) {}

void BundleDataSourceAsyncWaiter::Close(
    ) {}








}  // web_package::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif