#include "third_party/blink/renderer/core/inspector/protocol/dom_debugger.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 DOMDebugger {
DeserializerState;
ProtocolTypeTraits;
const char Metainfo::domainName[] = …;
const char Metainfo::commandPrefix[] = …;
const char Metainfo::version[] = …;
namespace DOMBreakpointTypeEnum {
const char SubtreeModified[] = …;
const char AttributeModified[] = …;
const char NodeRemoved[] = …;
}
namespace CSPViolationTypeEnum {
const char TrustedtypeSinkViolation[] = …;
const char TrustedtypePolicyViolation[] = …;
}
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) { … }
namespace {
struct getEventListenersParams : public crdtp::DeserializableProtocolObject<getEventListenersParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getEventListeners(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct removeDOMBreakpointParams : public crdtp::DeserializableProtocolObject<removeDOMBreakpointParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::removeDOMBreakpoint(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct removeEventListenerBreakpointParams : public crdtp::DeserializableProtocolObject<removeEventListenerBreakpointParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::removeEventListenerBreakpoint(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct removeXHRBreakpointParams : public crdtp::DeserializableProtocolObject<removeXHRBreakpointParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::removeXHRBreakpoint(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct setBreakOnCSPViolationParams : public crdtp::DeserializableProtocolObject<setBreakOnCSPViolationParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::setBreakOnCSPViolation(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct setDOMBreakpointParams : public crdtp::DeserializableProtocolObject<setDOMBreakpointParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::setDOMBreakpoint(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct setEventListenerBreakpointParams : public crdtp::DeserializableProtocolObject<setEventListenerBreakpointParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::setEventListenerBreakpoint(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct setXHRBreakpointParams : public crdtp::DeserializableProtocolObject<setXHRBreakpointParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::setXHRBreakpoint(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)
{ … }
}
}
}