chromium/out/Default/gen/third_party/blink/renderer/core/inspector/protocol/log.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/log.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 Log {

DeserializerState;
ProtocolTypeTraits;

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

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();



const char* ViolationSetting::NameEnum::LongTask =;
const char* ViolationSetting::NameEnum::LongLayout =;
const char* ViolationSetting::NameEnum::BlockedEvent =;
const char* ViolationSetting::NameEnum::BlockedParser =;
const char* ViolationSetting::NameEnum::DiscouragedAPIUse =;
const char* ViolationSetting::NameEnum::Handler =;
const char* ViolationSetting::NameEnum::RecurringHandler =;
CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


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


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

void Frontend::entryAdded(std::unique_ptr<protocol::Log::LogEntry> entry)
{}

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 {


}  // namespace

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

namespace {


}  // namespace

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

namespace {


}  // namespace

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

namespace {

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

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

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

namespace {


}  // namespace

void DomainDispatcherImpl::stopViolationsReport(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)
{}

} // Log
} // namespace blink
} // namespace protocol