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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

FileSystemAccessChangeTypeMoved::FileSystemAccessChangeTypeMoved(
    std::optional<WTF::Vector<WTF::String>> former_relative_path_in)
    :{}

FileSystemAccessChangeTypeMoved::~FileSystemAccessChangeTypeMoved() = default;

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

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

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

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

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

FileSystemAccessChangeMetadata::FileSystemAccessChangeMetadata(
    ::blink::mojom::blink::FileSystemAccessEntryPtr root_in,
    ::blink::mojom::blink::FileSystemAccessEntryPtr changed_entry_in,
    WTF::Vector<WTF::String> relative_path_in)
    :{}

FileSystemAccessChangeMetadata::~FileSystemAccessChangeMetadata() = default;

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

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

FileSystemAccessChange::FileSystemAccessChange(
    FileSystemAccessChangeMetadataPtr metadata_in,
    FileSystemAccessChangeTypePtr type_in)
    :{}

FileSystemAccessChange::~FileSystemAccessChange() = default;

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

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

FileSystemAccessChangeType::~FileSystemAccessChangeType() {}


void FileSystemAccessChangeType::set_appeared(
    FileSystemAccessChangeTypeAppearedPtr appeared) {}
void FileSystemAccessChangeType::set_disappeared(
    FileSystemAccessChangeTypeDisappearedPtr disappeared) {}
void FileSystemAccessChangeType::set_errored(
    FileSystemAccessChangeTypeErroredPtr errored) {}
void FileSystemAccessChangeType::set_modified(
    FileSystemAccessChangeTypeModifiedPtr modified) {}
void FileSystemAccessChangeType::set_moved(
    FileSystemAccessChangeTypeMovedPtr moved) {}
void FileSystemAccessChangeType::set_unknown(
    FileSystemAccessChangeTypeUnknownPtr unknown) {}

void FileSystemAccessChangeType::DestroyActive() {}

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FileSystemAccessObserver::OnFileChanges_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void FileSystemAccessObserverProxy::OnFileChanges(
    WTF::Vector<FileSystemAccessChangePtr> in_changes) {}

// static
bool FileSystemAccessObserverStubDispatch::Accept(
    FileSystemAccessObserver* impl,
    mojo::Message* message) {}

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

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



}  // blink::mojom::blink


namespace mojo {


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


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


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


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


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


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


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


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

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


void FileSystemAccessObserverInterceptorForTesting::OnFileChanges(WTF::Vector<FileSystemAccessChangePtr> changes) {}
FileSystemAccessObserverAsyncWaiter::FileSystemAccessObserverAsyncWaiter(
    FileSystemAccessObserver* proxy) :{}

FileSystemAccessObserverAsyncWaiter::~FileSystemAccessObserverAsyncWaiter() = default;






}  // blink::mojom::blink


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