chromium/out/Default/gen/components/services/font_data/public/mojom/font_data_service.mojom.cc

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

#include "components/services/font_data/public/mojom/font_data_service.mojom-import-headers.h"
#include "components/services/font_data/public/mojom/font_data_service.mojom-test-utils.h"


namespace font_data_service::mojom {
TypefaceStyle::TypefaceStyle()
    :{}

TypefaceStyle::TypefaceStyle(
    uint16_t weight_in,
    uint8_t width_in,
    TypefaceSlant slant_in)
    :{}

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

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

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

Coordinate::Coordinate(
    uint32_t axis_in,
    float value_in)
    :{}

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

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

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

VariationPosition::VariationPosition(
    std::vector<CoordinatePtr> coordinates_in,
    uint16_t coordinateCount_in)
    :{}

VariationPosition::~VariationPosition() = default;

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

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

MatchFamilyNameResult::MatchFamilyNameResult(
    ::base::ReadOnlySharedMemoryRegion region_in,
    int32_t ttc_index_in,
    VariationPositionPtr variation_position_in)
    :{}

MatchFamilyNameResult::~MatchFamilyNameResult() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FontDataService::MatchFamilyName_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)
bool FontDataService::MatchFamilyName(const std::string& family_name, TypefaceStylePtr style, MatchFamilyNameResultPtr* out_result) {}
class FontDataService_MatchFamilyName_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FontDataService_MatchFamilyName_ForwardToCallback
    : public mojo::MessageReceiver {};

FontDataServiceProxy::FontDataServiceProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}
bool FontDataServiceProxy::MatchFamilyName(
    const std::string& param_family_name, TypefaceStylePtr param_style, MatchFamilyNameResultPtr* out_param_result) {}

void FontDataServiceProxy::MatchFamilyName(
    const std::string& in_family_name, TypefaceStylePtr in_style, MatchFamilyNameCallback callback) {}
class FontDataService_MatchFamilyName_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void FontDataService_MatchFamilyName_ProxyToResponder::Run(
    MatchFamilyNameResultPtr in_result) {}
bool FontDataService_MatchFamilyName_HandleSyncResponse::Accept(
    mojo::Message* message) {}

// static
bool FontDataServiceStubDispatch::Accept(
    FontDataService* impl,
    mojo::Message* message) {}

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

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

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


}  // font_data_service::mojom


namespace mojo {


// static
bool StructTraits<::font_data_service::mojom::TypefaceStyle::DataView, ::font_data_service::mojom::TypefaceStylePtr>::Read(
    ::font_data_service::mojom::TypefaceStyle::DataView input,
    ::font_data_service::mojom::TypefaceStylePtr* output) {}


// static
bool StructTraits<::font_data_service::mojom::Coordinate::DataView, ::font_data_service::mojom::CoordinatePtr>::Read(
    ::font_data_service::mojom::Coordinate::DataView input,
    ::font_data_service::mojom::CoordinatePtr* output) {}


// static
bool StructTraits<::font_data_service::mojom::VariationPosition::DataView, ::font_data_service::mojom::VariationPositionPtr>::Read(
    ::font_data_service::mojom::VariationPosition::DataView input,
    ::font_data_service::mojom::VariationPositionPtr* output) {}


// static
bool StructTraits<::font_data_service::mojom::MatchFamilyNameResult::DataView, ::font_data_service::mojom::MatchFamilyNameResultPtr>::Read(
    ::font_data_service::mojom::MatchFamilyNameResult::DataView input,
    ::font_data_service::mojom::MatchFamilyNameResultPtr* 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 font_data_service::mojom {


void FontDataServiceInterceptorForTesting::MatchFamilyName(const std::string& family_name, TypefaceStylePtr style, MatchFamilyNameCallback callback) {}
FontDataServiceAsyncWaiter::FontDataServiceAsyncWaiter(
    FontDataService* proxy) :{}

FontDataServiceAsyncWaiter::~FontDataServiceAsyncWaiter() = default;

void FontDataServiceAsyncWaiter::MatchFamilyName(
    const std::string& family_name, TypefaceStylePtr style, MatchFamilyNameResultPtr* out_result) {}

MatchFamilyNameResultPtr FontDataServiceAsyncWaiter::MatchFamilyName(
    const std::string& family_name, TypefaceStylePtr style) {}






}  // font_data_service::mojom


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