chromium/out/Default/gen/third_party/blink/public/mojom/tokens/tokens.mojom.cc

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

#include "third_party/blink/public/mojom/tokens/tokens.mojom-import-headers.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-test-utils.h"


namespace blink::mojom {
DocumentToken::DocumentToken()
    :{}

DocumentToken::DocumentToken(
    const ::base::UnguessableToken& value_in)
    :{}

DocumentToken::~DocumentToken() = default;

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

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

LocalFrameToken::LocalFrameToken(
    const ::base::UnguessableToken& value_in)
    :{}

LocalFrameToken::~LocalFrameToken() = default;

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

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

RemoteFrameToken::RemoteFrameToken(
    const ::base::UnguessableToken& value_in)
    :{}

RemoteFrameToken::~RemoteFrameToken() = default;

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

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

DedicatedWorkerToken::DedicatedWorkerToken(
    const ::base::UnguessableToken& value_in)
    :{}

DedicatedWorkerToken::~DedicatedWorkerToken() = default;

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

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

ServiceWorkerToken::ServiceWorkerToken(
    const ::base::UnguessableToken& value_in)
    :{}

ServiceWorkerToken::~ServiceWorkerToken() = default;

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

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

SharedWorkerToken::SharedWorkerToken(
    const ::base::UnguessableToken& value_in)
    :{}

SharedWorkerToken::~SharedWorkerToken() = default;

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

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

AnimationWorkletToken::AnimationWorkletToken(
    const ::base::UnguessableToken& value_in)
    :{}

AnimationWorkletToken::~AnimationWorkletToken() = default;

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

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

AudioWorkletToken::AudioWorkletToken(
    const ::base::UnguessableToken& value_in)
    :{}

AudioWorkletToken::~AudioWorkletToken() = default;

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

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

LayoutWorkletToken::LayoutWorkletToken(
    const ::base::UnguessableToken& value_in)
    :{}

LayoutWorkletToken::~LayoutWorkletToken() = default;

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

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

PaintWorkletToken::PaintWorkletToken(
    const ::base::UnguessableToken& value_in)
    :{}

PaintWorkletToken::~PaintWorkletToken() = default;

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

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

SharedStorageWorkletToken::SharedStorageWorkletToken(
    const ::base::UnguessableToken& value_in)
    :{}

SharedStorageWorkletToken::~SharedStorageWorkletToken() = default;

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

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

ShadowRealmToken::ShadowRealmToken(
    const ::base::UnguessableToken& value_in)
    :{}

ShadowRealmToken::~ShadowRealmToken() = default;

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

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

AttributionSrcToken::AttributionSrcToken(
    const ::base::UnguessableToken& value_in)
    :{}

AttributionSrcToken::~AttributionSrcToken() = default;

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

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

ClipboardSequenceNumberToken::ClipboardSequenceNumberToken(
    const ::base::UnguessableToken& value_in)
    :{}

ClipboardSequenceNumberToken::~ClipboardSequenceNumberToken() = default;

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

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

SameDocNavigationScreenshotDestinationToken::SameDocNavigationScreenshotDestinationToken(
    const ::base::UnguessableToken& value_in)
    :{}

SameDocNavigationScreenshotDestinationToken::~SameDocNavigationScreenshotDestinationToken() = default;

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

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

V8ContextToken::V8ContextToken(
    const ::base::UnguessableToken& value_in)
    :{}

V8ContextToken::~V8ContextToken() = default;

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

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

ViewTransitionToken::ViewTransitionToken(
    const ::base::UnguessableToken& value_in)
    :{}

ViewTransitionToken::~ViewTransitionToken() = default;

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

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

WebNNContextToken::WebNNContextToken(
    const ::base::UnguessableToken& value_in)
    :{}

WebNNContextToken::~WebNNContextToken() = default;

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

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

WebNNBufferToken::WebNNBufferToken(
    const ::base::UnguessableToken& value_in)
    :{}

WebNNBufferToken::~WebNNBufferToken() = default;

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

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

FrameToken::~FrameToken() {}


void FrameToken::set_local_frame_token(
    const ::blink::LocalFrameToken& local_frame_token) {}
void FrameToken::set_remote_frame_token(
    const ::blink::RemoteFrameToken& remote_frame_token) {}

void FrameToken::DestroyActive() {}

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

WorkerToken::~WorkerToken() {}


void WorkerToken::set_dedicated_worker_token(
    const ::blink::DedicatedWorkerToken& dedicated_worker_token) {}
void WorkerToken::set_service_worker_token(
    const ::blink::ServiceWorkerToken& service_worker_token) {}
void WorkerToken::set_shared_worker_token(
    const ::blink::SharedWorkerToken& shared_worker_token) {}

void WorkerToken::DestroyActive() {}

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

WorkletToken::~WorkletToken() {}


void WorkletToken::set_animation_worklet_token(
    const ::blink::AnimationWorkletToken& animation_worklet_token) {}
void WorkletToken::set_audio_worklet_token(
    const ::blink::AudioWorkletToken& audio_worklet_token) {}
void WorkletToken::set_layout_worklet_token(
    LayoutWorkletTokenPtr layout_worklet_token) {}
void WorkletToken::set_paint_worklet_token(
    const ::blink::PaintWorkletToken& paint_worklet_token) {}
void WorkletToken::set_shared_storage_worklet_token(
    SharedStorageWorkletTokenPtr shared_storage_worklet_token) {}

void WorkletToken::DestroyActive() {}

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

ExecutionContextToken::~ExecutionContextToken() {}


void ExecutionContextToken::set_local_frame_token(
    const ::blink::LocalFrameToken& local_frame_token) {}
void ExecutionContextToken::set_dedicated_worker_token(
    const ::blink::DedicatedWorkerToken& dedicated_worker_token) {}
void ExecutionContextToken::set_service_worker_token(
    const ::blink::ServiceWorkerToken& service_worker_token) {}
void ExecutionContextToken::set_shared_worker_token(
    const ::blink::SharedWorkerToken& shared_worker_token) {}
void ExecutionContextToken::set_animation_worklet_token(
    const ::blink::AnimationWorkletToken& animation_worklet_token) {}
void ExecutionContextToken::set_audio_worklet_token(
    const ::blink::AudioWorkletToken& audio_worklet_token) {}
void ExecutionContextToken::set_layout_worklet_token(
    LayoutWorkletTokenPtr layout_worklet_token) {}
void ExecutionContextToken::set_paint_worklet_token(
    const ::blink::PaintWorkletToken& paint_worklet_token) {}
void ExecutionContextToken::set_shared_storage_worklet_token(
    SharedStorageWorkletTokenPtr shared_storage_worklet_token) {}
void ExecutionContextToken::set_shadow_realm_token(
    const ::blink::ShadowRealmToken& shadow_realm_token) {}

void ExecutionContextToken::DestroyActive() {}

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

WebGPUExecutionContextToken::~WebGPUExecutionContextToken() {}


void WebGPUExecutionContextToken::set_document_token(
    const ::blink::DocumentToken& document_token) {}
void WebGPUExecutionContextToken::set_dedicated_worker_token(
    const ::blink::DedicatedWorkerToken& dedicated_worker_token) {}
void WebGPUExecutionContextToken::set_shared_worker_token(
    const ::blink::SharedWorkerToken& shared_worker_token) {}
void WebGPUExecutionContextToken::set_service_worker_token(
    const ::blink::ServiceWorkerToken& service_worker_token) {}

void WebGPUExecutionContextToken::DestroyActive() {}

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


}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::DocumentToken::DataView, ::blink::mojom::DocumentTokenPtr>::Read(
    ::blink::mojom::DocumentToken::DataView input,
    ::blink::mojom::DocumentTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::LocalFrameToken::DataView, ::blink::mojom::LocalFrameTokenPtr>::Read(
    ::blink::mojom::LocalFrameToken::DataView input,
    ::blink::mojom::LocalFrameTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::RemoteFrameToken::DataView, ::blink::mojom::RemoteFrameTokenPtr>::Read(
    ::blink::mojom::RemoteFrameToken::DataView input,
    ::blink::mojom::RemoteFrameTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::DedicatedWorkerToken::DataView, ::blink::mojom::DedicatedWorkerTokenPtr>::Read(
    ::blink::mojom::DedicatedWorkerToken::DataView input,
    ::blink::mojom::DedicatedWorkerTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::ServiceWorkerToken::DataView, ::blink::mojom::ServiceWorkerTokenPtr>::Read(
    ::blink::mojom::ServiceWorkerToken::DataView input,
    ::blink::mojom::ServiceWorkerTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::SharedWorkerToken::DataView, ::blink::mojom::SharedWorkerTokenPtr>::Read(
    ::blink::mojom::SharedWorkerToken::DataView input,
    ::blink::mojom::SharedWorkerTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::AnimationWorkletToken::DataView, ::blink::mojom::AnimationWorkletTokenPtr>::Read(
    ::blink::mojom::AnimationWorkletToken::DataView input,
    ::blink::mojom::AnimationWorkletTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::AudioWorkletToken::DataView, ::blink::mojom::AudioWorkletTokenPtr>::Read(
    ::blink::mojom::AudioWorkletToken::DataView input,
    ::blink::mojom::AudioWorkletTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::LayoutWorkletToken::DataView, ::blink::mojom::LayoutWorkletTokenPtr>::Read(
    ::blink::mojom::LayoutWorkletToken::DataView input,
    ::blink::mojom::LayoutWorkletTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::PaintWorkletToken::DataView, ::blink::mojom::PaintWorkletTokenPtr>::Read(
    ::blink::mojom::PaintWorkletToken::DataView input,
    ::blink::mojom::PaintWorkletTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::SharedStorageWorkletToken::DataView, ::blink::mojom::SharedStorageWorkletTokenPtr>::Read(
    ::blink::mojom::SharedStorageWorkletToken::DataView input,
    ::blink::mojom::SharedStorageWorkletTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::ShadowRealmToken::DataView, ::blink::mojom::ShadowRealmTokenPtr>::Read(
    ::blink::mojom::ShadowRealmToken::DataView input,
    ::blink::mojom::ShadowRealmTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::AttributionSrcToken::DataView, ::blink::mojom::AttributionSrcTokenPtr>::Read(
    ::blink::mojom::AttributionSrcToken::DataView input,
    ::blink::mojom::AttributionSrcTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::ClipboardSequenceNumberToken::DataView, ::blink::mojom::ClipboardSequenceNumberTokenPtr>::Read(
    ::blink::mojom::ClipboardSequenceNumberToken::DataView input,
    ::blink::mojom::ClipboardSequenceNumberTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::SameDocNavigationScreenshotDestinationToken::DataView, ::blink::mojom::SameDocNavigationScreenshotDestinationTokenPtr>::Read(
    ::blink::mojom::SameDocNavigationScreenshotDestinationToken::DataView input,
    ::blink::mojom::SameDocNavigationScreenshotDestinationTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::V8ContextToken::DataView, ::blink::mojom::V8ContextTokenPtr>::Read(
    ::blink::mojom::V8ContextToken::DataView input,
    ::blink::mojom::V8ContextTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::ViewTransitionToken::DataView, ::blink::mojom::ViewTransitionTokenPtr>::Read(
    ::blink::mojom::ViewTransitionToken::DataView input,
    ::blink::mojom::ViewTransitionTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::WebNNContextToken::DataView, ::blink::mojom::WebNNContextTokenPtr>::Read(
    ::blink::mojom::WebNNContextToken::DataView input,
    ::blink::mojom::WebNNContextTokenPtr* output) {}


// static
bool StructTraits<::blink::mojom::WebNNBufferToken::DataView, ::blink::mojom::WebNNBufferTokenPtr>::Read(
    ::blink::mojom::WebNNBufferToken::DataView input,
    ::blink::mojom::WebNNBufferTokenPtr* output) {}

// static
bool UnionTraits<::blink::mojom::FrameToken::DataView, ::blink::mojom::FrameTokenPtr>::Read(
    ::blink::mojom::FrameToken::DataView input,
    ::blink::mojom::FrameTokenPtr* output) {}

// static
bool UnionTraits<::blink::mojom::WorkerToken::DataView, ::blink::mojom::WorkerTokenPtr>::Read(
    ::blink::mojom::WorkerToken::DataView input,
    ::blink::mojom::WorkerTokenPtr* output) {}

// static
bool UnionTraits<::blink::mojom::WorkletToken::DataView, ::blink::mojom::WorkletTokenPtr>::Read(
    ::blink::mojom::WorkletToken::DataView input,
    ::blink::mojom::WorkletTokenPtr* output) {}

// static
bool UnionTraits<::blink::mojom::ExecutionContextToken::DataView, ::blink::mojom::ExecutionContextTokenPtr>::Read(
    ::blink::mojom::ExecutionContextToken::DataView input,
    ::blink::mojom::ExecutionContextTokenPtr* output) {}

// static
bool UnionTraits<::blink::mojom::WebGPUExecutionContextToken::DataView, ::blink::mojom::WebGPUExecutionContextTokenPtr>::Read(
    ::blink::mojom::WebGPUExecutionContextToken::DataView input,
    ::blink::mojom::WebGPUExecutionContextTokenPtr* 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 blink::mojom {




}  // blink::mojom


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