#ifndef BASE_TRACE_EVENT_TYPED_MACROS_EMBEDDER_SUPPORT_H_
#define BASE_TRACE_EVENT_TYPED_MACROS_EMBEDDER_SUPPORT_H_
#include "base/base_export.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "base/trace_event/trace_event.h"
#include "third_party/perfetto/include/perfetto/tracing/internal/track_event_internal.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.h"
namespace base {
namespace trace_event {
class BASE_EXPORT TrackEventHandle { … };
class BASE_EXPORT TracePacketHandle { … };
PrepareTrackEventFunction;
PrepareTracePacketFunction;
EmitEmptyTracePacketFunction;
BASE_EXPORT void EnableTypedTraceEvents(
PrepareTrackEventFunction typed_event_callback,
PrepareTracePacketFunction trace_packet_callback,
EmitEmptyTracePacketFunction empty_packet_callback);
BASE_EXPORT void ResetTypedTraceEventsForTesting();
}
}
#endif