#include "services/tracing/public/cpp/trace_event_agent.h"
#include <string>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/ref_counted.h"
#include "base/memory/ref_counted_memory.h"
#include "base/no_destructor.h"
#include "base/strings/string_util.h"
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "base/trace_event/trace_log.h"
#include "base/values.h"
#include "build/build_config.h"
#include "services/tracing/public/cpp/perfetto/perfetto_traced_process.h"
#include "services/tracing/public/cpp/perfetto/trace_event_data_source.h"
#include "services/tracing/public/cpp/trace_event_args_allowlist.h"
#include "services/tracing/public/cpp/tracing_features.h"
namespace tracing {
TraceEventAgent* TraceEventAgent::GetInstance() { … }
TraceEventAgent::TraceEventAgent() { … }
TraceEventAgent::~TraceEventAgent() = default;
void TraceEventAgent::GetCategories(std::set<std::string>* category_set) { … }
}