#ifndef SERVICES_TRACING_PUBLIC_CPP_PERFETTO_TRACK_NAME_RECORDER_H_
#define SERVICES_TRACING_PUBLIC_CPP_PERFETTO_TRACK_NAME_RECORDER_H_
#include "base/component_export.h"
#include "base/sequence_checker.h"
#include "base/threading/thread_id_name_manager.h"
#include "base/trace_event/trace_config.h"
#include "base/trace_event/typed_macros.h"
#include "third_party/perfetto/include/perfetto/tracing/internal/track_event_internal.h"
namespace tracing {
std::optional<uint64_t> GetTraceCrashId();
class COMPONENT_EXPORT(TRACING_CPP) TrackNameRecorder
: public perfetto::TrackEventSessionObserver,
base::ThreadIdNameManager::Observer { … };
}
#endif