#include "services/tracing/public/cpp/perfetto/metadata_data_source.h"
#include "base/trace_event/trace_event.h"
#include "base/tracing/trace_time.h"
#include "components/variations/active_field_trials.h"
#include "third_party/perfetto/protos/perfetto/common/data_source_descriptor.gen.h"
#include "third_party/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.h"
#if BUILDFLAG(IS_ANDROID) && defined(OFFICIAL_BUILD)
#include "base/android/build_info.h"
#include "base/strings/string_number_conversions.h"
#endif
namespace tracing {
void MetadataDataSource::Register() { … }
void MetadataDataSource::OnStart(const StartArgs&) { … }
void MetadataDataSource::OnStop(const StopArgs&) { … }
}
PERFETTO_DEFINE_DATA_SOURCE_STATIC_MEMBERS_WITH_ATTRS(
COMPONENT_EXPORT(TRACING_CPP),
tracing::MetadataDataSource);