chromium/third_party/perfetto/src/trace_processor/importers/proto/args_parser.cc

/*
 * Copyright (C) 2024 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 "src/trace_processor/importers/proto/args_parser.h"

#include "perfetto/ext/base/base64.h"
#include "src/trace_processor/importers/json/json_utils.h"

namespace perfetto::trace_processor {

BoundInserter;

ArgsParser::ArgsParser(int64_t packet_timestamp,
                       BoundInserter& inserter,
                       TraceStorage& storage,
                       PacketSequenceStateGeneration* sequence_state,
                       bool support_json)
    :{}

ArgsParser::~ArgsParser() = default;

void ArgsParser::AddInteger(const Key& key, int64_t value) {}

void ArgsParser::AddUnsignedInteger(const Key& key, uint64_t value) {}

void ArgsParser::AddString(const Key& key, const protozero::ConstChars& value) {}

void ArgsParser::AddString(const Key& key, const std::string& value) {}

void ArgsParser::AddDouble(const Key& key, double value) {}

void ArgsParser::AddPointer(const Key& key, const void* value) {}

void ArgsParser::AddBoolean(const Key& key, bool value) {}

void ArgsParser::AddBytes(const Key& key, const protozero::ConstBytes& value) {}

bool ArgsParser::AddJson(const Key& key, const protozero::ConstChars& value) {}

void ArgsParser::AddNull(const Key& key) {}

size_t ArgsParser::GetArrayEntryIndex(const std::string& array_key) {}

size_t ArgsParser::IncrementArrayEntryIndex(const std::string& array_key) {}

int64_t ArgsParser::packet_timestamp() {}

PacketSequenceStateGeneration* ArgsParser::seq_state() {}

InternedMessageView* ArgsParser::GetInternedMessageView(uint32_t field_id,
                                                        uint64_t iid) {}

}  // namespace perfetto::trace_processor