chromium/out/Default/gen/content/browser/indexed_db/indexed_db_internals.mojom.cc

// content/browser/indexed_db/indexed_db_internals.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 "content/browser/indexed_db/indexed_db_internals.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 "content/browser/indexed_db/indexed_db_internals.mojom-params-data.h"
#include "content/browser/indexed_db/indexed_db_internals.mojom-shared-message-ids.h"

#include "content/browser/indexed_db/indexed_db_internals.mojom-import-headers.h"
#include "content/browser/indexed_db/indexed_db_internals.mojom-test-utils.h"


namespace storage::mojom {
IdbPartitionMetadata::IdbPartitionMetadata()
    :{}

IdbPartitionMetadata::IdbPartitionMetadata(
    const ::base::FilePath& partition_path_in,
    std::vector<::storage::mojom::IdbOriginMetadataPtr> origin_list_in)
    :{}

IdbPartitionMetadata::~IdbPartitionMetadata() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t IdbInternalsHandler::GetAllBucketsAcrossAllStorageKeys_Sym::IPCStableHash() {}
uint32_t IdbInternalsHandler::DownloadBucketData_Sym::IPCStableHash() {}
uint32_t IdbInternalsHandler::ForceClose_Sym::IPCStableHash() {}
uint32_t IdbInternalsHandler::StartMetadataRecording_Sym::IPCStableHash() {}
uint32_t IdbInternalsHandler::StopMetadataRecording_Sym::IPCStableHash() {}
uint32_t IdbInternalsHandler::InspectClient_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class IdbInternalsHandler_GetAllBucketsAcrossAllStorageKeys_ForwardToCallback
    : public mojo::MessageReceiver {};

class IdbInternalsHandler_DownloadBucketData_ForwardToCallback
    : public mojo::MessageReceiver {};

class IdbInternalsHandler_ForceClose_ForwardToCallback
    : public mojo::MessageReceiver {};

class IdbInternalsHandler_StartMetadataRecording_ForwardToCallback
    : public mojo::MessageReceiver {};

class IdbInternalsHandler_StopMetadataRecording_ForwardToCallback
    : public mojo::MessageReceiver {};

class IdbInternalsHandler_InspectClient_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void IdbInternalsHandlerProxy::GetAllBucketsAcrossAllStorageKeys(
    GetAllBucketsAcrossAllStorageKeysCallback callback) {}

void IdbInternalsHandlerProxy::DownloadBucketData(
    ::storage::BucketId in_bucketId, DownloadBucketDataCallback callback) {}

void IdbInternalsHandlerProxy::ForceClose(
    ::storage::BucketId in_bucketId, ForceCloseCallback callback) {}

void IdbInternalsHandlerProxy::StartMetadataRecording(
    ::storage::BucketId in_bucket_id, StartMetadataRecordingCallback callback) {}

void IdbInternalsHandlerProxy::StopMetadataRecording(
    ::storage::BucketId in_bucket_id, StopMetadataRecordingCallback callback) {}

void IdbInternalsHandlerProxy::InspectClient(
    const ::storage::BucketClientInfo& in_client_info, InspectClientCallback callback) {}
class IdbInternalsHandler_GetAllBucketsAcrossAllStorageKeys_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IdbInternalsHandler_GetAllBucketsAcrossAllStorageKeys_ProxyToResponder::Run(
    const std::optional<std::string>& in_error, std::vector<IdbPartitionMetadataPtr> in_partitions) {}
class IdbInternalsHandler_DownloadBucketData_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IdbInternalsHandler_DownloadBucketData_ProxyToResponder::Run(
    const std::optional<std::string>& in_error) {}
class IdbInternalsHandler_ForceClose_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IdbInternalsHandler_ForceClose_ProxyToResponder::Run(
    const std::optional<std::string>& in_error) {}
class IdbInternalsHandler_StartMetadataRecording_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IdbInternalsHandler_StartMetadataRecording_ProxyToResponder::Run(
    const std::optional<std::string>& in_error) {}
class IdbInternalsHandler_StopMetadataRecording_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IdbInternalsHandler_StopMetadataRecording_ProxyToResponder::Run(
    const std::optional<std::string>& in_error, std::vector<::storage::mojom::IdbBucketMetadataPtr> in_metadata) {}
class IdbInternalsHandler_InspectClient_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IdbInternalsHandler_InspectClient_ProxyToResponder::Run(
    const std::optional<std::string>& in_error) {}

// static
bool IdbInternalsHandlerStubDispatch::Accept(
    IdbInternalsHandler* impl,
    mojo::Message* message) {}

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

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

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


}  // storage::mojom


namespace mojo {


// static
bool StructTraits<::storage::mojom::IdbPartitionMetadata::DataView, ::storage::mojom::IdbPartitionMetadataPtr>::Read(
    ::storage::mojom::IdbPartitionMetadata::DataView input,
    ::storage::mojom::IdbPartitionMetadataPtr* 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 storage::mojom {


void IdbInternalsHandlerInterceptorForTesting::GetAllBucketsAcrossAllStorageKeys(GetAllBucketsAcrossAllStorageKeysCallback callback) {}
void IdbInternalsHandlerInterceptorForTesting::DownloadBucketData(::storage::BucketId bucketId, DownloadBucketDataCallback callback) {}
void IdbInternalsHandlerInterceptorForTesting::ForceClose(::storage::BucketId bucketId, ForceCloseCallback callback) {}
void IdbInternalsHandlerInterceptorForTesting::StartMetadataRecording(::storage::BucketId bucket_id, StartMetadataRecordingCallback callback) {}
void IdbInternalsHandlerInterceptorForTesting::StopMetadataRecording(::storage::BucketId bucket_id, StopMetadataRecordingCallback callback) {}
void IdbInternalsHandlerInterceptorForTesting::InspectClient(const ::storage::BucketClientInfo& client_info, InspectClientCallback callback) {}
IdbInternalsHandlerAsyncWaiter::IdbInternalsHandlerAsyncWaiter(
    IdbInternalsHandler* proxy) :{}

IdbInternalsHandlerAsyncWaiter::~IdbInternalsHandlerAsyncWaiter() = default;

void IdbInternalsHandlerAsyncWaiter::GetAllBucketsAcrossAllStorageKeys(
    std::optional<std::string>* out_error, std::vector<IdbPartitionMetadataPtr>* out_partitions) {}



void IdbInternalsHandlerAsyncWaiter::DownloadBucketData(
    ::storage::BucketId bucketId, std::optional<std::string>* out_error) {}

std::optional<std::string> IdbInternalsHandlerAsyncWaiter::DownloadBucketData(
    ::storage::BucketId bucketId) {}

void IdbInternalsHandlerAsyncWaiter::ForceClose(
    ::storage::BucketId bucketId, std::optional<std::string>* out_error) {}

std::optional<std::string> IdbInternalsHandlerAsyncWaiter::ForceClose(
    ::storage::BucketId bucketId) {}

void IdbInternalsHandlerAsyncWaiter::StartMetadataRecording(
    ::storage::BucketId bucket_id, std::optional<std::string>* out_error) {}

std::optional<std::string> IdbInternalsHandlerAsyncWaiter::StartMetadataRecording(
    ::storage::BucketId bucket_id) {}

void IdbInternalsHandlerAsyncWaiter::StopMetadataRecording(
    ::storage::BucketId bucket_id, std::optional<std::string>* out_error, std::vector<::storage::mojom::IdbBucketMetadataPtr>* out_metadata) {}



void IdbInternalsHandlerAsyncWaiter::InspectClient(
    const ::storage::BucketClientInfo& client_info, std::optional<std::string>* out_error) {}

std::optional<std::string> IdbInternalsHandlerAsyncWaiter::InspectClient(
    const ::storage::BucketClientInfo& client_info) {}






}  // storage::mojom


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