#include "chrome/browser/tracing/chrome_background_tracing_metrics_provider.h"
#include <memory>
#include <string_view>
#include <utility>
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/tracing/background_tracing_field_trial.h"
#include "chrome/common/channel_info.h"
#include "components/metrics/field_trials_provider.h"
#include "components/metrics/metrics_log.h"
#include "components/metrics/metrics_service.h"
#include "components/metrics/version_utils.h"
#if BUILDFLAG(IS_WIN)
#include "chrome/browser/metrics/antivirus_metrics_provider_win.h"
#endif
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "base/barrier_closure.h"
#include "chrome/browser/metrics/chromeos_metrics_provider.h"
#include "chrome/browser/metrics/chromeos_system_profile_provider.h"
#endif
namespace tracing {
ChromeBackgroundTracingMetricsProvider::ChromeBackgroundTracingMetricsProvider(
ChromeOSSystemProfileProvider* cros_system_profile_provider)
: … { … }
ChromeBackgroundTracingMetricsProvider::
~ChromeBackgroundTracingMetricsProvider() = default;
void ChromeBackgroundTracingMetricsProvider::DoInit() { … }
void ChromeBackgroundTracingMetricsProvider::AsyncInit(
base::OnceClosure done_callback) { … }
void ChromeBackgroundTracingMetricsProvider::RecordCoreSystemProfileMetrics(
metrics::SystemProfileProto* system_profile_proto) { … }
}