#include "src/trace_processor/importers/proto/winscope/viewcapture_args_parser.h"
#include "perfetto/ext/base/string_utils.h"
#include "perfetto/ext/base/string_view.h"
#include "protos/perfetto/trace/interned_data/interned_data.pbzero.h"
#include "protos/perfetto/trace/profiling/profile_common.pbzero.h"
#include "src/trace_processor/importers/proto/packet_sequence_state_generation.h"
namespace perfetto {
namespace trace_processor {
ViewCaptureArgsParser::ViewCaptureArgsParser(
int64_t packet_timestamp,
ArgsTracker::BoundInserter& inserter,
TraceStorage& storage,
PacketSequenceStateGeneration* sequence_state)
: … { … }
void ViewCaptureArgsParser::AddInteger(const Key& key, int64_t value) { … }
void ViewCaptureArgsParser::AddUnsignedInteger(const Key& key, uint64_t value) { … }
bool ViewCaptureArgsParser::TryAddDeinternedString(const Key& key,
uint64_t iid) { … }
std::optional<protozero::ConstChars> ViewCaptureArgsParser::TryDeinternString(
const Key& key,
uint64_t iid) { … }
}
}