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

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

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


namespace blink::mojom::blink {
const char StorageAccessHandle::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t StorageAccessHandle::BindIndexedDB_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::BindLocks_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::BindCaches_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::GetDirectory_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::Estimate_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::BindBlobStorage_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::BindBroadcastChannel_Sym::IPCStableHash() {}
uint32_t StorageAccessHandle::BindSharedWorker_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class StorageAccessHandle_GetDirectory_ForwardToCallback
    : public mojo::MessageReceiver {};

class StorageAccessHandle_Estimate_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void StorageAccessHandleProxy::BindIndexedDB(
    ::mojo::PendingReceiver<::blink::mojom::blink::IDBFactory> in_receiver) {}

void StorageAccessHandleProxy::BindLocks(
    ::mojo::PendingReceiver<::blink::mojom::blink::LockManager> in_receiver) {}

void StorageAccessHandleProxy::BindCaches(
    ::mojo::PendingReceiver<::blink::mojom::blink::CacheStorage> in_receiver) {}

void StorageAccessHandleProxy::GetDirectory(
    GetDirectoryCallback callback) {}

void StorageAccessHandleProxy::Estimate(
    EstimateCallback callback) {}

void StorageAccessHandleProxy::BindBlobStorage(
    ::mojo::PendingAssociatedReceiver<::blink::mojom::blink::BlobURLStore> in_receiver) {}

void StorageAccessHandleProxy::BindBroadcastChannel(
    ::mojo::PendingAssociatedReceiver<::blink::mojom::blink::BroadcastChannelProvider> in_receiver) {}

void StorageAccessHandleProxy::BindSharedWorker(
    ::mojo::PendingReceiver<::blink::mojom::blink::SharedWorkerConnector> in_receiver) {}
class StorageAccessHandle_GetDirectory_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void StorageAccessHandle_GetDirectory_ProxyToResponder::Run(
    ::blink::mojom::blink::FileSystemAccessErrorPtr in_result, ::mojo::PendingRemote<::blink::mojom::blink::FileSystemAccessDirectoryHandle> in_directory) {}
class StorageAccessHandle_Estimate_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void StorageAccessHandle_Estimate_ProxyToResponder::Run(
    int64_t in_current_usage, int64_t in_current_quota, bool in_success) {}

// static
bool StorageAccessHandleStubDispatch::Accept(
    StorageAccessHandle* impl,
    mojo::Message* message) {}

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

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

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


}  // blink::mojom::blink


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


void StorageAccessHandleInterceptorForTesting::BindIndexedDB(::mojo::PendingReceiver<::blink::mojom::blink::IDBFactory> receiver) {}
void StorageAccessHandleInterceptorForTesting::BindLocks(::mojo::PendingReceiver<::blink::mojom::blink::LockManager> receiver) {}
void StorageAccessHandleInterceptorForTesting::BindCaches(::mojo::PendingReceiver<::blink::mojom::blink::CacheStorage> receiver) {}
void StorageAccessHandleInterceptorForTesting::GetDirectory(GetDirectoryCallback callback) {}
void StorageAccessHandleInterceptorForTesting::Estimate(EstimateCallback callback) {}
void StorageAccessHandleInterceptorForTesting::BindBlobStorage(::mojo::PendingAssociatedReceiver<::blink::mojom::blink::BlobURLStore> receiver) {}
void StorageAccessHandleInterceptorForTesting::BindBroadcastChannel(::mojo::PendingAssociatedReceiver<::blink::mojom::blink::BroadcastChannelProvider> receiver) {}
void StorageAccessHandleInterceptorForTesting::BindSharedWorker(::mojo::PendingReceiver<::blink::mojom::blink::SharedWorkerConnector> receiver) {}
StorageAccessHandleAsyncWaiter::StorageAccessHandleAsyncWaiter(
    StorageAccessHandle* proxy) :{}

StorageAccessHandleAsyncWaiter::~StorageAccessHandleAsyncWaiter() = default;

void StorageAccessHandleAsyncWaiter::GetDirectory(
    ::blink::mojom::blink::FileSystemAccessErrorPtr* out_result, ::mojo::PendingRemote<::blink::mojom::blink::FileSystemAccessDirectoryHandle>* out_directory) {}



void StorageAccessHandleAsyncWaiter::Estimate(
    int64_t* out_current_usage, int64_t* out_current_quota, bool* out_success) {}








}  // blink::mojom::blink


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