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

// third_party/blink/public/mojom/tokens/tokens.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/tokens/tokens.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/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-blink-import-headers.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace blink::mojom::blink {
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::blink


namespace mojo {


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

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

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

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

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

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




}  // blink::mojom::blink


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