#include "third_party/blink/renderer/core/inspector/protocol/indexed_db.h"
#include "third_party/blink/renderer/core/inspector/protocol/protocol.h"
#include "third_party/inspector_protocol/crdtp/cbor.h"
#include "third_party/inspector_protocol/crdtp/find_by_first.h"
#include "third_party/inspector_protocol/crdtp/span.h"
namespace blink {
namespace protocol {
namespace IndexedDB {
DeserializerState;
ProtocolTypeTraits;
const char Metainfo::domainName[] = …;
const char Metainfo::commandPrefix[] = …;
const char Metainfo::version[] = …;
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
const char* Key::TypeEnum::Number = …;
const char* Key::TypeEnum::String = …;
const char* Key::TypeEnum::Date = …;
const char* Key::TypeEnum::Array = …;
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
const char* KeyPath::TypeEnum::Null = …;
const char* KeyPath::TypeEnum::String = …;
const char* KeyPath::TypeEnum::Array = …;
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
void Frontend::flush()
{ … }
void Frontend::sendRawNotification(std::unique_ptr<Serializable> notification)
{ … }
class DomainDispatcherImpl : public protocol::DomainDispatcher { … };
namespace {
DomainDispatcherImpl::CallHandler CommandByName(crdtp::span<uint8_t> command_name) { … }
}
std::function<void(const crdtp::Dispatchable&)> DomainDispatcherImpl::Dispatch(crdtp::span<uint8_t> command_name) { … }
class ClearObjectStoreCallbackImpl : public Backend::ClearObjectStoreCallback, public DomainDispatcher::Callback { … };
namespace {
struct clearObjectStoreParams : public crdtp::DeserializableProtocolObject<clearObjectStoreParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::clearObjectStore(const crdtp::Dispatchable& dispatchable)
{ … }
class DeleteDatabaseCallbackImpl : public Backend::DeleteDatabaseCallback, public DomainDispatcher::Callback { … };
namespace {
struct deleteDatabaseParams : public crdtp::DeserializableProtocolObject<deleteDatabaseParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::deleteDatabase(const crdtp::Dispatchable& dispatchable)
{ … }
class DeleteObjectStoreEntriesCallbackImpl : public Backend::DeleteObjectStoreEntriesCallback, public DomainDispatcher::Callback { … };
namespace {
struct deleteObjectStoreEntriesParams : public crdtp::DeserializableProtocolObject<deleteObjectStoreEntriesParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::deleteObjectStoreEntries(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
}
void DomainDispatcherImpl::disable(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
}
void DomainDispatcherImpl::enable(const crdtp::Dispatchable& dispatchable)
{ … }
class RequestDataCallbackImpl : public Backend::RequestDataCallback, public DomainDispatcher::Callback { … };
namespace {
struct requestDataParams : public crdtp::DeserializableProtocolObject<requestDataParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::requestData(const crdtp::Dispatchable& dispatchable)
{ … }
class GetMetadataCallbackImpl : public Backend::GetMetadataCallback, public DomainDispatcher::Callback { … };
namespace {
struct getMetadataParams : public crdtp::DeserializableProtocolObject<getMetadataParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getMetadata(const crdtp::Dispatchable& dispatchable)
{ … }
class RequestDatabaseCallbackImpl : public Backend::RequestDatabaseCallback, public DomainDispatcher::Callback { … };
namespace {
struct requestDatabaseParams : public crdtp::DeserializableProtocolObject<requestDatabaseParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::requestDatabase(const crdtp::Dispatchable& dispatchable)
{ … }
class RequestDatabaseNamesCallbackImpl : public Backend::RequestDatabaseNamesCallback, public DomainDispatcher::Callback { … };
namespace {
struct requestDatabaseNamesParams : public crdtp::DeserializableProtocolObject<requestDatabaseNamesParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::requestDatabaseNames(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
const std::vector<std::pair<crdtp::span<uint8_t>, crdtp::span<uint8_t>>>& SortedRedirects() { … }
}
void Dispatcher::wire(UberDispatcher* uber, Backend* backend)
{ … }
}
}
}