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

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

#include "third_party/blink/public/mojom/page_state/page_state.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/page_state/page_state.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


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

DEPRECATED_FileSystemFile::DEPRECATED_FileSystemFile(
    const ::blink::KURL& filesystem_url_in,
    uint64_t offset_in,
    uint64_t length_in,
    ::base::Time modification_time_in)
    :{}

DEPRECATED_FileSystemFile::~DEPRECATED_FileSystemFile() = default;

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

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

File::File(
    const ::WTF::String& path_in,
    uint64_t offset_in,
    uint64_t length_in,
    ::base::Time modification_time_in)
    :{}

File::~File() = default;

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

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

RequestBody::RequestBody(
    WTF::Vector<ElementPtr> elements_in,
    int64_t identifier_in,
    bool contains_sensitive_info_in)
    :{}

RequestBody::~RequestBody() = default;

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

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

HttpBody::HttpBody(
    const ::WTF::String& http_content_type_in,
    RequestBodyPtr request_body_in,
    bool contains_passwords_in)
    :{}

HttpBody::~HttpBody() = default;

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

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

ViewState::ViewState(
    const ::gfx::PointF& visual_viewport_scroll_offset_in,
    const ::gfx::Point& scroll_offset_in,
    double page_scale_factor_in)
    :{}

ViewState::ViewState(
    const ::gfx::PointF& visual_viewport_scroll_offset_in,
    const ::gfx::Point& scroll_offset_in,
    double page_scale_factor_in,
    const ::WTF::String& scroll_anchor_selector_in,
    const std::optional<::gfx::PointF>& scroll_anchor_offset_in,
    uint64_t scroll_anchor_simhash_in)
    :{}

ViewState::~ViewState() = default;

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

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

FrameState::FrameState(
    const ::WTF::String& url_string_in,
    const ::WTF::String& referrer_in,
    const ::WTF::String& target_in,
    const ::WTF::String& state_object_in,
    WTF::Vector<::WTF::String> document_state_in,
    ScrollRestorationType scroll_restoration_type_in,
    ViewStatePtr view_state_in,
    int64_t item_sequence_number_in,
    int64_t document_sequence_number_in,
    ::network::mojom::blink::ReferrerPolicy referrer_policy_in,
    HttpBodyPtr http_body_in,
    WTF::Vector<FrameStatePtr> children_in)
    :{}

FrameState::FrameState(
    const ::WTF::String& url_string_in,
    const ::WTF::String& referrer_in,
    const ::WTF::String& target_in,
    const ::WTF::String& state_object_in,
    WTF::Vector<::WTF::String> document_state_in,
    ScrollRestorationType scroll_restoration_type_in,
    ViewStatePtr view_state_in,
    int64_t item_sequence_number_in,
    int64_t document_sequence_number_in,
    ::network::mojom::blink::ReferrerPolicy referrer_policy_in,
    HttpBodyPtr http_body_in,
    WTF::Vector<FrameStatePtr> children_in,
    const WTF::String& initiator_origin_in)
    :{}

FrameState::FrameState(
    const ::WTF::String& url_string_in,
    const ::WTF::String& referrer_in,
    const ::WTF::String& target_in,
    const ::WTF::String& state_object_in,
    WTF::Vector<::WTF::String> document_state_in,
    ScrollRestorationType scroll_restoration_type_in,
    ViewStatePtr view_state_in,
    int64_t item_sequence_number_in,
    int64_t document_sequence_number_in,
    ::network::mojom::blink::ReferrerPolicy referrer_policy_in,
    HttpBodyPtr http_body_in,
    WTF::Vector<FrameStatePtr> children_in,
    const WTF::String& initiator_origin_in,
    const ::WTF::String& navigation_api_key_in,
    const ::WTF::String& navigation_api_id_in)
    :{}

FrameState::FrameState(
    const ::WTF::String& url_string_in,
    const ::WTF::String& referrer_in,
    const ::WTF::String& target_in,
    const ::WTF::String& state_object_in,
    WTF::Vector<::WTF::String> document_state_in,
    ScrollRestorationType scroll_restoration_type_in,
    ViewStatePtr view_state_in,
    int64_t item_sequence_number_in,
    int64_t document_sequence_number_in,
    ::network::mojom::blink::ReferrerPolicy referrer_policy_in,
    HttpBodyPtr http_body_in,
    WTF::Vector<FrameStatePtr> children_in,
    const WTF::String& initiator_origin_in,
    const ::WTF::String& navigation_api_key_in,
    const ::WTF::String& navigation_api_id_in,
    const ::WTF::String& navigation_api_state_in)
    :{}

FrameState::FrameState(
    const ::WTF::String& url_string_in,
    const ::WTF::String& referrer_in,
    const ::WTF::String& target_in,
    const ::WTF::String& state_object_in,
    WTF::Vector<::WTF::String> document_state_in,
    ScrollRestorationType scroll_restoration_type_in,
    ViewStatePtr view_state_in,
    int64_t item_sequence_number_in,
    int64_t document_sequence_number_in,
    ::network::mojom::blink::ReferrerPolicy referrer_policy_in,
    HttpBodyPtr http_body_in,
    WTF::Vector<FrameStatePtr> children_in,
    const WTF::String& initiator_origin_in,
    const ::WTF::String& navigation_api_key_in,
    const ::WTF::String& navigation_api_id_in,
    const ::WTF::String& navigation_api_state_in,
    bool protect_url_in_navigation_api_in)
    :{}

FrameState::FrameState(
    const ::WTF::String& url_string_in,
    const ::WTF::String& referrer_in,
    const ::WTF::String& target_in,
    const ::WTF::String& state_object_in,
    WTF::Vector<::WTF::String> document_state_in,
    ScrollRestorationType scroll_restoration_type_in,
    ViewStatePtr view_state_in,
    int64_t item_sequence_number_in,
    int64_t document_sequence_number_in,
    ::network::mojom::blink::ReferrerPolicy referrer_policy_in,
    HttpBodyPtr http_body_in,
    WTF::Vector<FrameStatePtr> children_in,
    const WTF::String& initiator_origin_in,
    const ::WTF::String& navigation_api_key_in,
    const ::WTF::String& navigation_api_id_in,
    const ::WTF::String& navigation_api_state_in,
    bool protect_url_in_navigation_api_in,
    const ::WTF::String& initiator_base_url_string_in)
    :{}

FrameState::~FrameState() = default;

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

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

PageState::PageState(
    WTF::Vector<::WTF::String> referenced_files_in,
    FrameStatePtr top_in)
    :{}

PageState::~PageState() = default;

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

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

Element::~Element() {}


void Element::set_blob_uuid(
    const WTF::String& blob_uuid) {}
void Element::set_bytes(
    WTF::Vector<uint8_t> bytes) {}
void Element::set_file(
    FilePtr file) {}
void Element::set_DEPRECATED_file_system_file(
    DEPRECATED_FileSystemFilePtr DEPRECATED_file_system_file) {}

void Element::DestroyActive() {}

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


}  // blink::mojom::blink


namespace mojo {


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


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


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


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


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


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


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

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