chromium/out/Default/gen/services/data_decoder/public/mojom/gzipper.mojom.cc

// services/data_decoder/public/mojom/gzipper.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 "services/data_decoder/public/mojom/gzipper.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 "services/data_decoder/public/mojom/gzipper.mojom-params-data.h"
#include "services/data_decoder/public/mojom/gzipper.mojom-shared-message-ids.h"

#include "services/data_decoder/public/mojom/gzipper.mojom-import-headers.h"
#include "services/data_decoder/public/mojom/gzipper.mojom-test-utils.h"


namespace data_decoder::mojom {
const char Gzipper::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Gzipper::Deflate_Sym::IPCStableHash() {}
uint32_t Gzipper::Inflate_Sym::IPCStableHash() {}
uint32_t Gzipper::Compress_Sym::IPCStableHash() {}
uint32_t Gzipper::Uncompress_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class Gzipper_Deflate_ForwardToCallback
    : public mojo::MessageReceiver {};

class Gzipper_Inflate_ForwardToCallback
    : public mojo::MessageReceiver {};

class Gzipper_Compress_ForwardToCallback
    : public mojo::MessageReceiver {};

class Gzipper_Uncompress_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void GzipperProxy::Deflate(
    ::mojo_base::BigBuffer in_data, DeflateCallback callback) {}

void GzipperProxy::Inflate(
    ::mojo_base::BigBuffer in_data, uint64_t in_max_uncompressed_size, InflateCallback callback) {}

void GzipperProxy::Compress(
    ::mojo_base::BigBuffer in_data, CompressCallback callback) {}

void GzipperProxy::Uncompress(
    ::mojo_base::BigBuffer in_compressed_data, UncompressCallback callback) {}
class Gzipper_Deflate_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Gzipper_Deflate_ProxyToResponder::Run(
    std::optional<::mojo_base::BigBuffer> in_deflated_data) {}
class Gzipper_Inflate_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Gzipper_Inflate_ProxyToResponder::Run(
    std::optional<::mojo_base::BigBuffer> in_inflated_data) {}
class Gzipper_Compress_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Gzipper_Compress_ProxyToResponder::Run(
    std::optional<::mojo_base::BigBuffer> in_compressed_data) {}
class Gzipper_Uncompress_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Gzipper_Uncompress_ProxyToResponder::Run(
    std::optional<::mojo_base::BigBuffer> in_data) {}

// static
bool GzipperStubDispatch::Accept(
    Gzipper* impl,
    mojo::Message* message) {}

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

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

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


}  // data_decoder::mojom


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 data_decoder::mojom {


void GzipperInterceptorForTesting::Deflate(::mojo_base::BigBuffer data, DeflateCallback callback) {}
void GzipperInterceptorForTesting::Inflate(::mojo_base::BigBuffer data, uint64_t max_uncompressed_size, InflateCallback callback) {}
void GzipperInterceptorForTesting::Compress(::mojo_base::BigBuffer data, CompressCallback callback) {}
void GzipperInterceptorForTesting::Uncompress(::mojo_base::BigBuffer compressed_data, UncompressCallback callback) {}
GzipperAsyncWaiter::GzipperAsyncWaiter(
    Gzipper* proxy) :{}

GzipperAsyncWaiter::~GzipperAsyncWaiter() = default;

void GzipperAsyncWaiter::Deflate(
    ::mojo_base::BigBuffer data, std::optional<::mojo_base::BigBuffer>* out_deflated_data) {}

std::optional<::mojo_base::BigBuffer> GzipperAsyncWaiter::Deflate(
    ::mojo_base::BigBuffer data) {}

void GzipperAsyncWaiter::Inflate(
    ::mojo_base::BigBuffer data, uint64_t max_uncompressed_size, std::optional<::mojo_base::BigBuffer>* out_inflated_data) {}

std::optional<::mojo_base::BigBuffer> GzipperAsyncWaiter::Inflate(
    ::mojo_base::BigBuffer data, uint64_t max_uncompressed_size) {}

void GzipperAsyncWaiter::Compress(
    ::mojo_base::BigBuffer data, std::optional<::mojo_base::BigBuffer>* out_compressed_data) {}

std::optional<::mojo_base::BigBuffer> GzipperAsyncWaiter::Compress(
    ::mojo_base::BigBuffer data) {}

void GzipperAsyncWaiter::Uncompress(
    ::mojo_base::BigBuffer compressed_data, std::optional<::mojo_base::BigBuffer>* out_data) {}

std::optional<::mojo_base::BigBuffer> GzipperAsyncWaiter::Uncompress(
    ::mojo_base::BigBuffer compressed_data) {}






}  // data_decoder::mojom


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