#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "components/services/storage/privileged/mojom/indexed_db_client_state_checker.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_client_state_checker.mojom-params-data.h"
#include "components/services/storage/privileged/mojom/indexed_db_client_state_checker.mojom-shared-message-ids.h"
#include "components/services/storage/privileged/mojom/indexed_db_client_state_checker.mojom-import-headers.h"
#include "components/services/storage/privileged/mojom/indexed_db_client_state_checker.mojom-test-utils.h"
namespace storage::mojom {
const char IndexedDBClientStateChecker::Name_[] = …;
IndexedDBClientStateChecker::IPCStableHashFunction IndexedDBClientStateChecker::MessageToMethodInfo_(mojo::Message& message) { … }
const char* IndexedDBClientStateChecker::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t IndexedDBClientStateChecker::DisallowInactiveClient_Sym::IPCStableHash() { … }
uint32_t IndexedDBClientStateChecker::MakeClone_Sym::IPCStableHash() { … }
# endif
class IndexedDBClientStateChecker_DisallowInactiveClient_ForwardToCallback
: public mojo::MessageReceiver { … };
IndexedDBClientStateCheckerProxy::IndexedDBClientStateCheckerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void IndexedDBClientStateCheckerProxy::DisallowInactiveClient(
DisallowInactiveClientReason in_reason, ::mojo::PendingReceiver<IndexedDBClientKeepActive> in_keep_active, DisallowInactiveClientCallback callback) { … }
void IndexedDBClientStateCheckerProxy::MakeClone(
::mojo::PendingReceiver<IndexedDBClientStateChecker> in_receiver) { … }
class IndexedDBClientStateChecker_DisallowInactiveClient_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool IndexedDBClientStateChecker_DisallowInactiveClient_ForwardToCallback::Accept(
mojo::Message* message) { … }
void IndexedDBClientStateChecker_DisallowInactiveClient_ProxyToResponder::Run(
bool in_was_active) { … }
bool IndexedDBClientStateCheckerStubDispatch::Accept(
IndexedDBClientStateChecker* impl,
mojo::Message* message) { … }
bool IndexedDBClientStateCheckerStubDispatch::AcceptWithResponder(
IndexedDBClientStateChecker* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kIndexedDBClientStateCheckerValidationInfo[] = …;
bool IndexedDBClientStateCheckerRequestValidator::Accept(mojo::Message* message) { … }
bool IndexedDBClientStateCheckerResponseValidator::Accept(mojo::Message* message) { … }
const char IndexedDBClientKeepActive::Name_[] = …;
IndexedDBClientKeepActive::IPCStableHashFunction IndexedDBClientKeepActive::MessageToMethodInfo_(mojo::Message& message) { … }
const char* IndexedDBClientKeepActive::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
# endif
IndexedDBClientKeepActiveProxy::IndexedDBClientKeepActiveProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
bool IndexedDBClientKeepActiveStubDispatch::Accept(
IndexedDBClientKeepActive* impl,
mojo::Message* message) { … }
bool IndexedDBClientKeepActiveStubDispatch::AcceptWithResponder(
IndexedDBClientKeepActive* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
bool IndexedDBClientKeepActiveRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace storage::mojom {
void IndexedDBClientStateCheckerInterceptorForTesting::DisallowInactiveClient(DisallowInactiveClientReason reason, ::mojo::PendingReceiver<IndexedDBClientKeepActive> keep_active, DisallowInactiveClientCallback callback) { … }
void IndexedDBClientStateCheckerInterceptorForTesting::MakeClone(::mojo::PendingReceiver<IndexedDBClientStateChecker> receiver) { … }
IndexedDBClientStateCheckerAsyncWaiter::IndexedDBClientStateCheckerAsyncWaiter(
IndexedDBClientStateChecker* proxy) : … { … }
IndexedDBClientStateCheckerAsyncWaiter::~IndexedDBClientStateCheckerAsyncWaiter() = default;
void IndexedDBClientStateCheckerAsyncWaiter::DisallowInactiveClient(
DisallowInactiveClientReason reason, ::mojo::PendingReceiver<IndexedDBClientKeepActive> keep_active, bool* out_was_active) { … }
bool IndexedDBClientStateCheckerAsyncWaiter::DisallowInactiveClient(
DisallowInactiveClientReason reason, ::mojo::PendingReceiver<IndexedDBClientKeepActive> keep_active) { … }
IndexedDBClientKeepActiveAsyncWaiter::IndexedDBClientKeepActiveAsyncWaiter(
IndexedDBClientKeepActive* proxy) : … { … }
IndexedDBClientKeepActiveAsyncWaiter::~IndexedDBClientKeepActiveAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif