chromium/out/Default/gen/pdf/mojom/pdf.mojom.cc

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

#include "pdf/mojom/pdf.mojom-import-headers.h"
#include "pdf/mojom/pdf.mojom-test-utils.h"


namespace pdf::mojom {
const char PdfListener::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PdfListener::SetCaretPosition_Sym::IPCStableHash() {}
uint32_t PdfListener::MoveRangeSelectionExtent_Sym::IPCStableHash() {}
uint32_t PdfListener::SetSelectionBounds_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void PdfListenerProxy::SetCaretPosition(
    const ::gfx::PointF& in_position) {}

void PdfListenerProxy::MoveRangeSelectionExtent(
    const ::gfx::PointF& in_extent) {}

void PdfListenerProxy::SetSelectionBounds(
    const ::gfx::PointF& in_base, const ::gfx::PointF& in_extent) {}

// static
bool PdfListenerStubDispatch::Accept(
    PdfListener* impl,
    mojo::Message* message) {}

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

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

const char PdfHost::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PdfHost::SetListener_Sym::IPCStableHash() {}
uint32_t PdfHost::UpdateContentRestrictions_Sym::IPCStableHash() {}
uint32_t PdfHost::HasUnsupportedFeature_Sym::IPCStableHash() {}
uint32_t PdfHost::SaveUrlAs_Sym::IPCStableHash() {}
uint32_t PdfHost::SelectionChanged_Sym::IPCStableHash() {}
uint32_t PdfHost::SetPluginCanSave_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void PdfHostProxy::SetListener(
    ::mojo::PendingRemote<PdfListener> in_client) {}

void PdfHostProxy::UpdateContentRestrictions(
    int32_t in_restrictions) {}

void PdfHostProxy::HasUnsupportedFeature(
    ) {}

void PdfHostProxy::SaveUrlAs(
    const ::GURL& in_url, ::network::mojom::ReferrerPolicy in_policy) {}

void PdfHostProxy::SelectionChanged(
    const ::gfx::PointF& in_left, int32_t in_left_height, const ::gfx::PointF& in_right, int32_t in_right_height) {}

void PdfHostProxy::SetPluginCanSave(
    bool in_can_save) {}

// static
bool PdfHostStubDispatch::Accept(
    PdfHost* impl,
    mojo::Message* message) {}

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

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



}  // pdf::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 pdf::mojom {


void PdfListenerInterceptorForTesting::SetCaretPosition(const ::gfx::PointF& position) {}
void PdfListenerInterceptorForTesting::MoveRangeSelectionExtent(const ::gfx::PointF& extent) {}
void PdfListenerInterceptorForTesting::SetSelectionBounds(const ::gfx::PointF& base, const ::gfx::PointF& extent) {}
PdfListenerAsyncWaiter::PdfListenerAsyncWaiter(
    PdfListener* proxy) :{}

PdfListenerAsyncWaiter::~PdfListenerAsyncWaiter() = default;




void PdfHostInterceptorForTesting::SetListener(::mojo::PendingRemote<PdfListener> client) {}
void PdfHostInterceptorForTesting::UpdateContentRestrictions(int32_t restrictions) {}
void PdfHostInterceptorForTesting::HasUnsupportedFeature() {}
void PdfHostInterceptorForTesting::SaveUrlAs(const ::GURL& url, ::network::mojom::ReferrerPolicy policy) {}
void PdfHostInterceptorForTesting::SelectionChanged(const ::gfx::PointF& left, int32_t left_height, const ::gfx::PointF& right, int32_t right_height) {}
void PdfHostInterceptorForTesting::SetPluginCanSave(bool can_save) {}
PdfHostAsyncWaiter::PdfHostAsyncWaiter(
    PdfHost* proxy) :{}

PdfHostAsyncWaiter::~PdfHostAsyncWaiter() = default;






}  // pdf::mojom


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