#include "content/browser/devtools/protocol/log.h"
#include "content/browser/devtools/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 content {
namespace protocol {
namespace Log {
DeserializerState;
ProtocolTypeTraits;
const char Metainfo::domainName[] = …;
const char Metainfo::commandPrefix[] = …;
const char Metainfo::version[] = …;
const char* LogEntry::SourceEnum::Xml = …;
const char* LogEntry::SourceEnum::Javascript = …;
const char* LogEntry::SourceEnum::Network = …;
const char* LogEntry::SourceEnum::Storage = …;
const char* LogEntry::SourceEnum::Appcache = …;
const char* LogEntry::SourceEnum::Rendering = …;
const char* LogEntry::SourceEnum::Security = …;
const char* LogEntry::SourceEnum::Deprecation = …;
const char* LogEntry::SourceEnum::Worker = …;
const char* LogEntry::SourceEnum::Violation = …;
const char* LogEntry::SourceEnum::Intervention = …;
const char* LogEntry::SourceEnum::Recommendation = …;
const char* LogEntry::SourceEnum::Other = …;
const char* LogEntry::LevelEnum::Verbose = …;
const char* LogEntry::LevelEnum::Info = …;
const char* LogEntry::LevelEnum::Warning = …;
const char* LogEntry::LevelEnum::Error = …;
const char* LogEntry::CategoryEnum::Cors = …;
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
void Frontend::EntryAdded(std::unique_ptr<protocol::Log::LogEntry> entry)
{ … }
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 {
}
void DomainDispatcherImpl::disable(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
}
void DomainDispatcherImpl::enable(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)
{ … }
}
}
}