chromium/out/Default/gen/third_party/blink/renderer/core/inspector/protocol/dom_debugger.cc

// This file is generated by TypeBuilder_cpp.template.

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;

// ------------- Enum values from types.

const char Metainfo::domainName[] =;
const char Metainfo::commandPrefix[] =;
const char Metainfo::version[] =;

namespace DOMBreakpointTypeEnum {
const char SubtreeModified[] =;
const char AttributeModified[] =;
const char NodeRemoved[] =;
} // namespace DOMBreakpointTypeEnum


namespace CSPViolationTypeEnum {
const char TrustedtypeSinkViolation[] =;
const char TrustedtypePolicyViolation[] =;
} // namespace CSPViolationTypeEnum


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


// ------------- Enum values from params.


// ------------- Frontend notifications.

void Frontend::flush()
{}

void Frontend::sendRawNotification(std::unique_ptr<Serializable> notification)
{}

// --------------------- Dispatcher.

class DomainDispatcherImpl : public protocol::DomainDispatcher {};

namespace {
// This helper method with a static map of command methods (instance methods
// of DomainDispatcherImpl declared just above) by their name is used immediately below,
// in the DomainDispatcherImpl::Dispatch method.
DomainDispatcherImpl::CallHandler CommandByName(crdtp::span<uint8_t> command_name) {}
}  // namespace

std::function<void(const crdtp::Dispatchable&)> DomainDispatcherImpl::Dispatch(crdtp::span<uint8_t> command_name) {}


namespace {

struct getEventListenersParams : public crdtp::DeserializableProtocolObject<getEventListenersParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::getEventListeners(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct removeDOMBreakpointParams : public crdtp::DeserializableProtocolObject<removeDOMBreakpointParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::removeDOMBreakpoint(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct removeEventListenerBreakpointParams : public crdtp::DeserializableProtocolObject<removeEventListenerBreakpointParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::removeEventListenerBreakpoint(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct removeXHRBreakpointParams : public crdtp::DeserializableProtocolObject<removeXHRBreakpointParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::removeXHRBreakpoint(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct setBreakOnCSPViolationParams : public crdtp::DeserializableProtocolObject<setBreakOnCSPViolationParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::setBreakOnCSPViolation(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct setDOMBreakpointParams : public crdtp::DeserializableProtocolObject<setDOMBreakpointParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::setDOMBreakpoint(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct setEventListenerBreakpointParams : public crdtp::DeserializableProtocolObject<setEventListenerBreakpointParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::setEventListenerBreakpoint(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct setXHRBreakpointParams : public crdtp::DeserializableProtocolObject<setXHRBreakpointParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::setXHRBreakpoint(const crdtp::Dispatchable& dispatchable)
{}

namespace {
// This helper method (with a static map of redirects) is used from Dispatcher::wire
// immediately below.
const std::vector<std::pair<crdtp::span<uint8_t>, crdtp::span<uint8_t>>>& SortedRedirects() {}
}  // namespace

// static
void Dispatcher::wire(UberDispatcher* uber, Backend* backend)
{}

} // DOMDebugger
} // namespace blink
} // namespace protocol