#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "third_party/blink/public/mojom/dom_storage/dom_storage.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/dom_storage/dom_storage.mojom-params-data.h"
#include "third_party/blink/public/mojom/dom_storage/dom_storage.mojom-shared-message-ids.h"
#include "third_party/blink/public/mojom/dom_storage/dom_storage.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/dom_storage/dom_storage.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
namespace blink::mojom::blink {
const char DomStorageProvider::Name_[] = …;
DomStorageProvider::IPCStableHashFunction DomStorageProvider::MessageToMethodInfo_(mojo::Message& message) { … }
const char* DomStorageProvider::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DomStorageProvider::BindDomStorage_Sym::IPCStableHash() { … }
# endif
DomStorageProviderProxy::DomStorageProviderProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void DomStorageProviderProxy::BindDomStorage(
::mojo::PendingReceiver<DomStorage> in_receiver, ::mojo::PendingRemote<DomStorageClient> in_client) { … }
bool DomStorageProviderStubDispatch::Accept(
DomStorageProvider* impl,
mojo::Message* message) { … }
bool DomStorageProviderStubDispatch::AcceptWithResponder(
DomStorageProvider* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kDomStorageProviderValidationInfo[] = …;
bool DomStorageProviderRequestValidator::Accept(mojo::Message* message) { … }
const char DomStorage::Name_[] = …;
DomStorage::IPCStableHashFunction DomStorage::MessageToMethodInfo_(mojo::Message& message) { … }
const char* DomStorage::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DomStorage::OpenLocalStorage_Sym::IPCStableHash() { … }
uint32_t DomStorage::BindSessionStorageNamespace_Sym::IPCStableHash() { … }
uint32_t DomStorage::BindSessionStorageArea_Sym::IPCStableHash() { … }
# endif
DomStorageProxy::DomStorageProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void DomStorageProxy::OpenLocalStorage(
const ::blink::BlinkStorageKey& in_storage_key, const ::blink::LocalFrameToken& in_local_frame_token, ::mojo::PendingReceiver<::blink::mojom::blink::StorageArea> in_area) { … }
void DomStorageProxy::BindSessionStorageNamespace(
const WTF::String& in_namespace_id, ::mojo::PendingReceiver<::blink::mojom::blink::SessionStorageNamespace> in_receiver) { … }
void DomStorageProxy::BindSessionStorageArea(
const ::blink::BlinkStorageKey& in_storage_key, const ::blink::LocalFrameToken& in_local_frame_token, const WTF::String& in_namespace_id, ::mojo::PendingReceiver<::blink::mojom::blink::StorageArea> in_session_namespace) { … }
bool DomStorageStubDispatch::Accept(
DomStorage* impl,
mojo::Message* message) { … }
bool DomStorageStubDispatch::AcceptWithResponder(
DomStorage* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kDomStorageValidationInfo[] = …;
bool DomStorageRequestValidator::Accept(mojo::Message* message) { … }
const char DomStorageClient::Name_[] = …;
DomStorageClient::IPCStableHashFunction DomStorageClient::MessageToMethodInfo_(mojo::Message& message) { … }
const char* DomStorageClient::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DomStorageClient::ResetStorageAreaAndNamespaceConnections_Sym::IPCStableHash() { … }
# endif
DomStorageClientProxy::DomStorageClientProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void DomStorageClientProxy::ResetStorageAreaAndNamespaceConnections(
) { … }
bool DomStorageClientStubDispatch::Accept(
DomStorageClient* impl,
mojo::Message* message) { … }
bool DomStorageClientStubDispatch::AcceptWithResponder(
DomStorageClient* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kDomStorageClientValidationInfo[] = …;
bool DomStorageClientRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace blink::mojom::blink {
void DomStorageProviderInterceptorForTesting::BindDomStorage(::mojo::PendingReceiver<DomStorage> receiver, ::mojo::PendingRemote<DomStorageClient> client) { … }
DomStorageProviderAsyncWaiter::DomStorageProviderAsyncWaiter(
DomStorageProvider* proxy) : … { … }
DomStorageProviderAsyncWaiter::~DomStorageProviderAsyncWaiter() = default;
void DomStorageInterceptorForTesting::OpenLocalStorage(const ::blink::BlinkStorageKey& storage_key, const ::blink::LocalFrameToken& local_frame_token, ::mojo::PendingReceiver<::blink::mojom::blink::StorageArea> area) { … }
void DomStorageInterceptorForTesting::BindSessionStorageNamespace(const WTF::String& namespace_id, ::mojo::PendingReceiver<::blink::mojom::blink::SessionStorageNamespace> receiver) { … }
void DomStorageInterceptorForTesting::BindSessionStorageArea(const ::blink::BlinkStorageKey& storage_key, const ::blink::LocalFrameToken& local_frame_token, const WTF::String& namespace_id, ::mojo::PendingReceiver<::blink::mojom::blink::StorageArea> session_namespace) { … }
DomStorageAsyncWaiter::DomStorageAsyncWaiter(
DomStorage* proxy) : … { … }
DomStorageAsyncWaiter::~DomStorageAsyncWaiter() = default;
void DomStorageClientInterceptorForTesting::ResetStorageAreaAndNamespaceConnections() { … }
DomStorageClientAsyncWaiter::DomStorageClientAsyncWaiter(
DomStorageClient* proxy) : … { … }
DomStorageClientAsyncWaiter::~DomStorageClientAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif