chromium/out/Default/gen/v8/src/inspector/protocol/Console.cpp

// 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 "src/inspector/protocol/Console.h"

#include "src/inspector/protocol/Protocol.h"

#include "v8//third_party/inspector_protocol/crdtp/cbor.h"
#include "v8//third_party/inspector_protocol/crdtp/find_by_first.h"
#include "v8//third_party/inspector_protocol/crdtp/span.h"

namespace v8_inspector {
namespace protocol {
namespace Console {

DeserializerState;
ProtocolTypeTraits;

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

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


const char* ConsoleMessage::SourceEnum::Xml =;
const char* ConsoleMessage::SourceEnum::Javascript =;
const char* ConsoleMessage::SourceEnum::Network =;
const char* ConsoleMessage::SourceEnum::ConsoleApi =;
const char* ConsoleMessage::SourceEnum::Storage =;
const char* ConsoleMessage::SourceEnum::Appcache =;
const char* ConsoleMessage::SourceEnum::Rendering =;
const char* ConsoleMessage::SourceEnum::Security =;
const char* ConsoleMessage::SourceEnum::Other =;
const char* ConsoleMessage::SourceEnum::Deprecation =;
const char* ConsoleMessage::SourceEnum::Worker =;

const char* ConsoleMessage::LevelEnum::Log =;
const char* ConsoleMessage::LevelEnum::Warning =;
const char* ConsoleMessage::LevelEnum::Error =;
const char* ConsoleMessage::LevelEnum::Debug =;
const char* ConsoleMessage::LevelEnum::Info =;
V8_CRDTP_BEGIN_DESERIALIZER()

V8_CRDTP_BEGIN_SERIALIZER();


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


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

void Frontend::messageAdded(std::unique_ptr<protocol::Console::ConsoleMessage> message)
{}

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(v8_crdtp::span<uint8_t> command_name) {}
}  // namespace

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


namespace {


}  // namespace

void DomainDispatcherImpl::clearMessages(const v8_crdtp::Dispatchable& dispatchable)
{}

namespace {


}  // namespace

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

namespace {


}  // namespace

void DomainDispatcherImpl::enable(const v8_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<v8_crdtp::span<uint8_t>, v8_crdtp::span<uint8_t>>>& SortedRedirects() {}
}  // namespace

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

} // Console
} // namespace v8_inspector
} // namespace protocol