chromium/third_party/blink/renderer/core/inspector/inspector_session_state.cc

// Copyright 2018 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/inspector_session_state.h"

#include "third_party/inspector_protocol/crdtp/cbor.h"

namespace blink {
namespace {
span;
SpanFrom;
CBORTokenizer;
CBORTokenTag;
EncodeDouble;
EncodeFalse;
EncodeFromLatin1;
EncodeFromUTF16;
EncodeInt32;
EncodeNull;
EncodeTrue;
}  // namespace

//
// InspectorSessionState
//
InspectorSessionState::InspectorSessionState(
    mojom::blink::DevToolsSessionStatePtr reattach)
    :{}

const mojom::blink::DevToolsSessionState* InspectorSessionState::ReattachState()
    const {}

void InspectorSessionState::EnqueueUpdate(const WTF::String& key,
                                          const WebVector<uint8_t>* value) {}

mojom::blink::DevToolsSessionStatePtr InspectorSessionState::TakeUpdates() {}

//
// Encoding / Decoding routines.
//
/*static*/
void InspectorAgentState::Serialize(bool v, WebVector<uint8_t>* out) {}

/*static*/
bool InspectorAgentState::Deserialize(span<uint8_t> in, bool* v) {}

/*static*/
void InspectorAgentState::Serialize(int32_t v, WebVector<uint8_t>* out) {}

/*static*/
bool InspectorAgentState::Deserialize(span<uint8_t> in, int32_t* v) {}

/*static*/
void InspectorAgentState::Serialize(double v, WebVector<uint8_t>* out) {}

/*static*/
bool InspectorAgentState::Deserialize(span<uint8_t> in, double* v) {}

/*static*/
void InspectorAgentState::Serialize(const WTF::String& v,
                                    WebVector<uint8_t>* out) {}

/*static*/
bool InspectorAgentState::Deserialize(span<uint8_t> in, WTF::String* v) {}

/*static*/
void InspectorAgentState::Serialize(const std::vector<uint8_t>& v,
                                    WebVector<uint8_t>* out) {}

/*static*/
bool InspectorAgentState::Deserialize(span<uint8_t> in,
                                      std::vector<uint8_t>* v) {}

//
// InspectorAgentState
//
InspectorAgentState::InspectorAgentState(const WTF::String& domain_name)
    :{}

WTF::String InspectorAgentState::RegisterField(Field* field) {}

void InspectorAgentState::InitFrom(InspectorSessionState* session_state) {}

void InspectorAgentState::ClearAllFields() {}

}  // namespace blink