#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "services/tracing/public/cpp/perfetto/trace_packet_tokenizer.h"
#include "base/check.h"
#include "base/check_op.h"
#include "third_party/perfetto/include/perfetto/ext/tracing/core/trace_packet.h"
namespace tracing {
namespace {
static constexpr uint8_t kPacketTag = …;
}
TracePacketTokenizer::TracePacketTokenizer() = default;
TracePacketTokenizer::~TracePacketTokenizer() = default;
TracePacketTokenizer::Packet::Packet() = default;
TracePacketTokenizer::Packet::~Packet() = default;
std::vector<perfetto::TracePacket> TracePacketTokenizer::Parse(
const uint8_t* data,
size_t size) { … }
}