chromium/third_party/perfetto/src/tracing/traced_value.cc

/*
 * Copyright (C) 2021 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "perfetto/tracing/traced_value.h"

#include "perfetto/base/logging.h"
#include "perfetto/tracing/debug_annotation.h"
#include "perfetto/tracing/internal/track_event_interned_fields.h"
#include "protos/perfetto/trace/track_event/debug_annotation.pbzero.h"

namespace perfetto {

namespace internal {

TracedValue CreateTracedValueFromProto(
    protos::pbzero::DebugAnnotation* annotation,
    EventContext* event_context) {}

}  // namespace internal

// static
TracedValue TracedValue::CreateFromProto(
    protos::pbzero::DebugAnnotation* annotation,
    EventContext* event_context) {}

TracedValue::TracedValue(TracedValue&&) = default;
TracedValue::~TracedValue() = default;

void TracedValue::WriteInt64(int64_t value) && {}

void TracedValue::WriteUInt64(uint64_t value) && {}

void TracedValue::WriteDouble(double value) && {}

void TracedValue::WriteBoolean(bool value) && {}

void TracedValue::WriteString(const char* value) && {}

void TracedValue::WriteString(const char* value, size_t len) && {}

void TracedValue::WriteString(const std::string& value) && {}

void TracedValue::WriteString(std::string_view value) && {}

void TracedValue::WritePointer(const void* value) && {}

TracedDictionary TracedValue::WriteDictionary() && {}

TracedArray TracedValue::WriteArray() && {}

protozero::Message* TracedValue::WriteProtoInternal(const char* name) {}

TracedArray::TracedArray(TracedValue annotation)
    :{}

TracedValue TracedArray::AppendItem() {}

TracedDictionary TracedArray::AppendDictionary() {}

TracedArray TracedArray::AppendArray() {}

TracedDictionary::TracedDictionary(TracedValue annotation)
    :{}

TracedValue TracedDictionary::AddItem(StaticString key) {}

TracedValue TracedDictionary::AddItem(DynamicString key) {}

TracedDictionary TracedDictionary::AddDictionary(StaticString key) {}

TracedDictionary TracedDictionary::AddDictionary(DynamicString key) {}

TracedArray TracedDictionary::AddArray(StaticString key) {}

TracedArray TracedDictionary::AddArray(DynamicString key) {}

}  // namespace perfetto