chromium/out/Default/gen/components/services/storage/privileged/mojom/indexed_db_control_test.mojom.cc

// components/services/storage/privileged/mojom/indexed_db_control_test.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 "components/services/storage/privileged/mojom/indexed_db_control_test.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 "components/services/storage/privileged/mojom/indexed_db_control_test.mojom-params-data.h"
#include "components/services/storage/privileged/mojom/indexed_db_control_test.mojom-shared-message-ids.h"

#include "components/services/storage/privileged/mojom/indexed_db_control_test.mojom-import-headers.h"
#include "components/services/storage/privileged/mojom/indexed_db_control_test.mojom-test-utils.h"


namespace storage::mojom {
const char MockFailureInjector::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t MockFailureInjector::FailOperation_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void MockFailureInjectorProxy::FailOperation(
    FailClass in_failure_class, FailMethod in_failure_method, int32_t in_instance_num, int32_t in_call_num) {}

// static
bool MockFailureInjectorStubDispatch::Accept(
    MockFailureInjector* impl,
    mojo::Message* message) {}

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

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

const char IndexedDBControlTest::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t IndexedDBControlTest::GetBaseDataPathForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::GetFilePathForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::ResetCachesForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::WriteToIndexedDBForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::GetPathForBlobForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::CompactBackingStoreForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::GetUsageForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::BindMockFailureSingletonForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::GetDatabaseKeysForTesting_Sym::IPCStableHash() {}
uint32_t IndexedDBControlTest::ForceInitializeFromFilesForTesting_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class IndexedDBControlTest_GetBaseDataPathForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_GetFilePathForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_ResetCachesForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_WriteToIndexedDBForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_GetPathForBlobForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_CompactBackingStoreForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_GetUsageForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_GetDatabaseKeysForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

class IndexedDBControlTest_ForceInitializeFromFilesForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void IndexedDBControlTestProxy::GetBaseDataPathForTesting(
    GetBaseDataPathForTestingCallback callback) {}

void IndexedDBControlTestProxy::GetFilePathForTesting(
    const ::storage::BucketLocator& in_bucket_locator, GetFilePathForTestingCallback callback) {}

void IndexedDBControlTestProxy::ResetCachesForTesting(
    ResetCachesForTestingCallback callback) {}

void IndexedDBControlTestProxy::WriteToIndexedDBForTesting(
    const ::storage::BucketLocator& in_bucket_locator, const std::string& in_key, const std::string& in_value, WriteToIndexedDBForTestingCallback callback) {}

void IndexedDBControlTestProxy::GetPathForBlobForTesting(
    const ::storage::BucketLocator& in_bucket_locator, int64_t in_database_id, int64_t in_blob_number, GetPathForBlobForTestingCallback callback) {}

void IndexedDBControlTestProxy::CompactBackingStoreForTesting(
    const ::storage::BucketLocator& in_bucket_locator, CompactBackingStoreForTestingCallback callback) {}

void IndexedDBControlTestProxy::GetUsageForTesting(
    GetUsageForTestingCallback callback) {}

void IndexedDBControlTestProxy::BindMockFailureSingletonForTesting(
    ::mojo::PendingReceiver<MockFailureInjector> in_receiver) {}

void IndexedDBControlTestProxy::GetDatabaseKeysForTesting(
    GetDatabaseKeysForTestingCallback callback) {}

void IndexedDBControlTestProxy::ForceInitializeFromFilesForTesting(
    ForceInitializeFromFilesForTestingCallback callback) {}
class IndexedDBControlTest_GetBaseDataPathForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_GetBaseDataPathForTesting_ProxyToResponder::Run(
    const ::base::FilePath& in_path) {}
class IndexedDBControlTest_GetFilePathForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_GetFilePathForTesting_ProxyToResponder::Run(
    const ::base::FilePath& in_path) {}
class IndexedDBControlTest_ResetCachesForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_ResetCachesForTesting_ProxyToResponder::Run(
    ) {}
class IndexedDBControlTest_WriteToIndexedDBForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_WriteToIndexedDBForTesting_ProxyToResponder::Run(
    ) {}
class IndexedDBControlTest_GetPathForBlobForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_GetPathForBlobForTesting_ProxyToResponder::Run(
    const ::base::FilePath& in_path) {}
class IndexedDBControlTest_CompactBackingStoreForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_CompactBackingStoreForTesting_ProxyToResponder::Run(
    ) {}
class IndexedDBControlTest_GetUsageForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_GetUsageForTesting_ProxyToResponder::Run(
    int64_t in_total_usage) {}
class IndexedDBControlTest_GetDatabaseKeysForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_GetDatabaseKeysForTesting_ProxyToResponder::Run(
    const std::string& in_schema_version_key, const std::string& in_data_version_key) {}
class IndexedDBControlTest_ForceInitializeFromFilesForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void IndexedDBControlTest_ForceInitializeFromFilesForTesting_ProxyToResponder::Run(
    ) {}

// static
bool IndexedDBControlTestStubDispatch::Accept(
    IndexedDBControlTest* impl,
    mojo::Message* message) {}

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

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

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


}  // storage::mojom


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


void MockFailureInjectorInterceptorForTesting::FailOperation(FailClass failure_class, FailMethod failure_method, int32_t instance_num, int32_t call_num) {}
MockFailureInjectorAsyncWaiter::MockFailureInjectorAsyncWaiter(
    MockFailureInjector* proxy) :{}

MockFailureInjectorAsyncWaiter::~MockFailureInjectorAsyncWaiter() = default;




void IndexedDBControlTestInterceptorForTesting::GetBaseDataPathForTesting(GetBaseDataPathForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::GetFilePathForTesting(const ::storage::BucketLocator& bucket_locator, GetFilePathForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::ResetCachesForTesting(ResetCachesForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::WriteToIndexedDBForTesting(const ::storage::BucketLocator& bucket_locator, const std::string& key, const std::string& value, WriteToIndexedDBForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::GetPathForBlobForTesting(const ::storage::BucketLocator& bucket_locator, int64_t database_id, int64_t blob_number, GetPathForBlobForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::CompactBackingStoreForTesting(const ::storage::BucketLocator& bucket_locator, CompactBackingStoreForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::GetUsageForTesting(GetUsageForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::BindMockFailureSingletonForTesting(::mojo::PendingReceiver<MockFailureInjector> receiver) {}
void IndexedDBControlTestInterceptorForTesting::GetDatabaseKeysForTesting(GetDatabaseKeysForTestingCallback callback) {}
void IndexedDBControlTestInterceptorForTesting::ForceInitializeFromFilesForTesting(ForceInitializeFromFilesForTestingCallback callback) {}
IndexedDBControlTestAsyncWaiter::IndexedDBControlTestAsyncWaiter(
    IndexedDBControlTest* proxy) :{}

IndexedDBControlTestAsyncWaiter::~IndexedDBControlTestAsyncWaiter() = default;

void IndexedDBControlTestAsyncWaiter::GetBaseDataPathForTesting(
    ::base::FilePath* out_path) {}

::base::FilePath IndexedDBControlTestAsyncWaiter::GetBaseDataPathForTesting(
    ) {}

void IndexedDBControlTestAsyncWaiter::GetFilePathForTesting(
    const ::storage::BucketLocator& bucket_locator, ::base::FilePath* out_path) {}

::base::FilePath IndexedDBControlTestAsyncWaiter::GetFilePathForTesting(
    const ::storage::BucketLocator& bucket_locator) {}

void IndexedDBControlTestAsyncWaiter::ResetCachesForTesting(
    ) {}



void IndexedDBControlTestAsyncWaiter::WriteToIndexedDBForTesting(
    const ::storage::BucketLocator& bucket_locator, const std::string& key, const std::string& value) {}



void IndexedDBControlTestAsyncWaiter::GetPathForBlobForTesting(
    const ::storage::BucketLocator& bucket_locator, int64_t database_id, int64_t blob_number, ::base::FilePath* out_path) {}

::base::FilePath IndexedDBControlTestAsyncWaiter::GetPathForBlobForTesting(
    const ::storage::BucketLocator& bucket_locator, int64_t database_id, int64_t blob_number) {}

void IndexedDBControlTestAsyncWaiter::CompactBackingStoreForTesting(
    const ::storage::BucketLocator& bucket_locator) {}



void IndexedDBControlTestAsyncWaiter::GetUsageForTesting(
    int64_t* out_total_usage) {}

int64_t IndexedDBControlTestAsyncWaiter::GetUsageForTesting(
    ) {}

void IndexedDBControlTestAsyncWaiter::GetDatabaseKeysForTesting(
    std::string* out_schema_version_key, std::string* out_data_version_key) {}



void IndexedDBControlTestAsyncWaiter::ForceInitializeFromFilesForTesting(
    ) {}








}  // storage::mojom


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