chromium/out/Default/gen/content/browser/devtools/protocol/runtime.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 "content/browser/devtools/protocol/runtime.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 Runtime {

DeserializerState;
ProtocolTypeTraits;

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

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



const char* DeepSerializedValue::TypeEnum::Undefined =;
const char* DeepSerializedValue::TypeEnum::Null =;
const char* DeepSerializedValue::TypeEnum::String =;
const char* DeepSerializedValue::TypeEnum::Number =;
const char* DeepSerializedValue::TypeEnum::Boolean =;
const char* DeepSerializedValue::TypeEnum::Bigint =;
const char* DeepSerializedValue::TypeEnum::Regexp =;
const char* DeepSerializedValue::TypeEnum::Date =;
const char* DeepSerializedValue::TypeEnum::Symbol =;
const char* DeepSerializedValue::TypeEnum::Array =;
const char* DeepSerializedValue::TypeEnum::Object =;
const char* DeepSerializedValue::TypeEnum::Function =;
const char* DeepSerializedValue::TypeEnum::Map =;
const char* DeepSerializedValue::TypeEnum::Set =;
const char* DeepSerializedValue::TypeEnum::Weakmap =;
const char* DeepSerializedValue::TypeEnum::Weakset =;
const char* DeepSerializedValue::TypeEnum::Error =;
const char* DeepSerializedValue::TypeEnum::Proxy =;
const char* DeepSerializedValue::TypeEnum::Promise =;
const char* DeepSerializedValue::TypeEnum::Typedarray =;
const char* DeepSerializedValue::TypeEnum::Arraybuffer =;
const char* DeepSerializedValue::TypeEnum::Node =;
const char* DeepSerializedValue::TypeEnum::Window =;
const char* DeepSerializedValue::TypeEnum::Generator =;
CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();





const char* RemoteObject::TypeEnum::Object =;
const char* RemoteObject::TypeEnum::Function =;
const char* RemoteObject::TypeEnum::Undefined =;
const char* RemoteObject::TypeEnum::String =;
const char* RemoteObject::TypeEnum::Number =;
const char* RemoteObject::TypeEnum::Boolean =;
const char* RemoteObject::TypeEnum::Symbol =;
const char* RemoteObject::TypeEnum::Bigint =;

const char* RemoteObject::SubtypeEnum::Array =;
const char* RemoteObject::SubtypeEnum::Null =;
const char* RemoteObject::SubtypeEnum::Node =;
const char* RemoteObject::SubtypeEnum::Regexp =;
const char* RemoteObject::SubtypeEnum::Date =;
const char* RemoteObject::SubtypeEnum::Map =;
const char* RemoteObject::SubtypeEnum::Set =;
const char* RemoteObject::SubtypeEnum::Weakmap =;
const char* RemoteObject::SubtypeEnum::Weakset =;
const char* RemoteObject::SubtypeEnum::Iterator =;
const char* RemoteObject::SubtypeEnum::Generator =;
const char* RemoteObject::SubtypeEnum::Error =;
const char* RemoteObject::SubtypeEnum::Proxy =;
const char* RemoteObject::SubtypeEnum::Promise =;
const char* RemoteObject::SubtypeEnum::Typedarray =;
const char* RemoteObject::SubtypeEnum::Arraybuffer =;
const char* RemoteObject::SubtypeEnum::Dataview =;
const char* RemoteObject::SubtypeEnum::Webassemblymemory =;
const char* RemoteObject::SubtypeEnum::Wasmvalue =;
CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();



const char* ObjectPreview::TypeEnum::Object =;
const char* ObjectPreview::TypeEnum::Function =;
const char* ObjectPreview::TypeEnum::Undefined =;
const char* ObjectPreview::TypeEnum::String =;
const char* ObjectPreview::TypeEnum::Number =;
const char* ObjectPreview::TypeEnum::Boolean =;
const char* ObjectPreview::TypeEnum::Symbol =;
const char* ObjectPreview::TypeEnum::Bigint =;

const char* ObjectPreview::SubtypeEnum::Array =;
const char* ObjectPreview::SubtypeEnum::Null =;
const char* ObjectPreview::SubtypeEnum::Node =;
const char* ObjectPreview::SubtypeEnum::Regexp =;
const char* ObjectPreview::SubtypeEnum::Date =;
const char* ObjectPreview::SubtypeEnum::Map =;
const char* ObjectPreview::SubtypeEnum::Set =;
const char* ObjectPreview::SubtypeEnum::Weakmap =;
const char* ObjectPreview::SubtypeEnum::Weakset =;
const char* ObjectPreview::SubtypeEnum::Iterator =;
const char* ObjectPreview::SubtypeEnum::Generator =;
const char* ObjectPreview::SubtypeEnum::Error =;
const char* ObjectPreview::SubtypeEnum::Proxy =;
const char* ObjectPreview::SubtypeEnum::Promise =;
const char* ObjectPreview::SubtypeEnum::Typedarray =;
const char* ObjectPreview::SubtypeEnum::Arraybuffer =;
const char* ObjectPreview::SubtypeEnum::Dataview =;
const char* ObjectPreview::SubtypeEnum::Webassemblymemory =;
const char* ObjectPreview::SubtypeEnum::Wasmvalue =;
CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();



const char* PropertyPreview::TypeEnum::Object =;
const char* PropertyPreview::TypeEnum::Function =;
const char* PropertyPreview::TypeEnum::Undefined =;
const char* PropertyPreview::TypeEnum::String =;
const char* PropertyPreview::TypeEnum::Number =;
const char* PropertyPreview::TypeEnum::Boolean =;
const char* PropertyPreview::TypeEnum::Symbol =;
const char* PropertyPreview::TypeEnum::Accessor =;
const char* PropertyPreview::TypeEnum::Bigint =;

const char* PropertyPreview::SubtypeEnum::Array =;
const char* PropertyPreview::SubtypeEnum::Null =;
const char* PropertyPreview::SubtypeEnum::Node =;
const char* PropertyPreview::SubtypeEnum::Regexp =;
const char* PropertyPreview::SubtypeEnum::Date =;
const char* PropertyPreview::SubtypeEnum::Map =;
const char* PropertyPreview::SubtypeEnum::Set =;
const char* PropertyPreview::SubtypeEnum::Weakmap =;
const char* PropertyPreview::SubtypeEnum::Weakset =;
const char* PropertyPreview::SubtypeEnum::Iterator =;
const char* PropertyPreview::SubtypeEnum::Generator =;
const char* PropertyPreview::SubtypeEnum::Error =;
const char* PropertyPreview::SubtypeEnum::Proxy =;
const char* PropertyPreview::SubtypeEnum::Promise =;
const char* PropertyPreview::SubtypeEnum::Typedarray =;
const char* PropertyPreview::SubtypeEnum::Arraybuffer =;
const char* PropertyPreview::SubtypeEnum::Dataview =;
const char* PropertyPreview::SubtypeEnum::Webassemblymemory =;
const char* PropertyPreview::SubtypeEnum::Wasmvalue =;
CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();



CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();



CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


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


namespace ConsoleAPICalled {
namespace TypeEnum {
const char* Log =;
const char* Debug =;
const char* Info =;
const char* Error =;
const char* Warning =;
const char* Dir =;
const char* Dirxml =;
const char* Table =;
const char* Trace =;
const char* Clear =;
const char* StartGroup =;
const char* StartGroupCollapsed =;
const char* EndGroup =;
const char* Assert =;
const char* Profile =;
const char* ProfileEnd =;
const char* Count =;
const char* TimeEnd =;
} // namespace TypeEnum
} // namespace ConsoleAPICalled

// ------------- 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 {
// 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)
{}

} // Runtime
} // namespace content
} // namespace protocol