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

// third_party/blink/public/mojom/blob/blob.mojom-blink.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 "third_party/blink/public/mojom/blob/blob.mojom-blink.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 "third_party/blink/public/mojom/blob/blob.mojom-params-data.h"
#include "third_party/blink/public/mojom/blob/blob.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/blob/blob.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/blob/blob.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace blink::mojom::blink {
const char BlobReaderClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BlobReaderClient::OnCalculatedSize_Sym::IPCStableHash() {}
uint32_t BlobReaderClient::OnComplete_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void BlobReaderClientProxy::OnCalculatedSize(
    uint64_t in_total_size, uint64_t in_expected_content_size) {}

void BlobReaderClientProxy::OnComplete(
    int32_t in_status, uint64_t in_data_length) {}

// static
bool BlobReaderClientStubDispatch::Accept(
    BlobReaderClient* impl,
    mojo::Message* message) {}

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

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

const char Blob::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Blob::Clone_Sym::IPCStableHash() {}
uint32_t Blob::AsDataPipeGetter_Sym::IPCStableHash() {}
uint32_t Blob::ReadAll_Sym::IPCStableHash() {}
uint32_t Blob::ReadRange_Sym::IPCStableHash() {}
uint32_t Blob::Load_Sym::IPCStableHash() {}
uint32_t Blob::ReadSideData_Sym::IPCStableHash() {}
uint32_t Blob::CaptureSnapshot_Sym::IPCStableHash() {}
uint32_t Blob::GetInternalUUID_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)
bool Blob::CaptureSnapshot(uint64_t* out_length, std::optional<::base::Time>* out_modification_time) {}

class Blob_ReadSideData_ForwardToCallback
    : public mojo::MessageReceiver {};
class Blob_CaptureSnapshot_HandleSyncResponse
    : public mojo::MessageReceiver {};

class Blob_CaptureSnapshot_ForwardToCallback
    : public mojo::MessageReceiver {};

class Blob_GetInternalUUID_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void BlobProxy::Clone(
    ::mojo::PendingReceiver<Blob> in_blob) {}

void BlobProxy::AsDataPipeGetter(
    ::mojo::PendingReceiver<::network::mojom::blink::DataPipeGetter> in_data_pipe_getter) {}

void BlobProxy::ReadAll(
    ::mojo::ScopedDataPipeProducerHandle in_pipe, ::mojo::PendingRemote<BlobReaderClient> in_client) {}

void BlobProxy::ReadRange(
    uint64_t in_offset, uint64_t in_length, ::mojo::ScopedDataPipeProducerHandle in_pipe, ::mojo::PendingRemote<BlobReaderClient> in_client) {}

void BlobProxy::Load(
    ::mojo::PendingReceiver<::network::mojom::blink::URLLoader> in_loader, const WTF::String& in_request_method, const ::net::HttpRequestHeaders& in_headers, ::mojo::PendingRemote<::network::mojom::blink::URLLoaderClient> in_client) {}

void BlobProxy::ReadSideData(
    ReadSideDataCallback callback) {}
bool BlobProxy::CaptureSnapshot(
    uint64_t* out_param_length, std::optional<::base::Time>* out_param_modification_time) {}

void BlobProxy::CaptureSnapshot(
    CaptureSnapshotCallback callback) {}

void BlobProxy::GetInternalUUID(
    GetInternalUUIDCallback callback) {}
class Blob_ReadSideData_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Blob_ReadSideData_ProxyToResponder::Run(
    std::optional<::mojo_base::BigBuffer> in_data) {}
class Blob_CaptureSnapshot_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Blob_CaptureSnapshot_ProxyToResponder::Run(
    uint64_t in_length, std::optional<::base::Time> in_modification_time) {}
bool Blob_CaptureSnapshot_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class Blob_GetInternalUUID_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Blob_GetInternalUUID_ProxyToResponder::Run(
    const WTF::String& in_uuid) {}

// static
bool BlobStubDispatch::Accept(
    Blob* impl,
    mojo::Message* message) {}

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

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

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


}  // blink::mojom::blink


namespace mojo {

}  // namespace mojo


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


namespace blink::mojom::blink {


void BlobReaderClientInterceptorForTesting::OnCalculatedSize(uint64_t total_size, uint64_t expected_content_size) {}
void BlobReaderClientInterceptorForTesting::OnComplete(int32_t status, uint64_t data_length) {}
BlobReaderClientAsyncWaiter::BlobReaderClientAsyncWaiter(
    BlobReaderClient* proxy) :{}

BlobReaderClientAsyncWaiter::~BlobReaderClientAsyncWaiter() = default;




void BlobInterceptorForTesting::Clone(::mojo::PendingReceiver<Blob> blob) {}
void BlobInterceptorForTesting::AsDataPipeGetter(::mojo::PendingReceiver<::network::mojom::blink::DataPipeGetter> data_pipe_getter) {}
void BlobInterceptorForTesting::ReadAll(::mojo::ScopedDataPipeProducerHandle pipe, ::mojo::PendingRemote<BlobReaderClient> client) {}
void BlobInterceptorForTesting::ReadRange(uint64_t offset, uint64_t length, ::mojo::ScopedDataPipeProducerHandle pipe, ::mojo::PendingRemote<BlobReaderClient> client) {}
void BlobInterceptorForTesting::Load(::mojo::PendingReceiver<::network::mojom::blink::URLLoader> loader, const WTF::String& request_method, const ::net::HttpRequestHeaders& headers, ::mojo::PendingRemote<::network::mojom::blink::URLLoaderClient> client) {}
void BlobInterceptorForTesting::ReadSideData(ReadSideDataCallback callback) {}
void BlobInterceptorForTesting::CaptureSnapshot(CaptureSnapshotCallback callback) {}
void BlobInterceptorForTesting::GetInternalUUID(GetInternalUUIDCallback callback) {}
BlobAsyncWaiter::BlobAsyncWaiter(
    Blob* proxy) :{}

BlobAsyncWaiter::~BlobAsyncWaiter() = default;

void BlobAsyncWaiter::ReadSideData(
    std::optional<::mojo_base::BigBuffer>* out_data) {}

std::optional<::mojo_base::BigBuffer> BlobAsyncWaiter::ReadSideData(
    ) {}

void BlobAsyncWaiter::CaptureSnapshot(
    uint64_t* out_length, std::optional<::base::Time>* out_modification_time) {}



void BlobAsyncWaiter::GetInternalUUID(
    WTF::String* out_uuid) {}

WTF::String BlobAsyncWaiter::GetInternalUUID(
    ) {}






}  // blink::mojom::blink


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