#include <vector>
#include "base/metrics/histogram_base.h"
#include "base/metrics/histogram_samples.h"
#include "base/metrics/statistics_recorder.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "chrome/test/base/platform_browser_test.h"
#include "components/startup_metric_utils/browser/startup_metric_utils.h"
#include "content/public/test/browser_test.h"
#if BUILDFLAG(IS_ANDROID)
#include "base/android/build_info.h"
#endif
StartupMetricsTest;
namespace {
constexpr const char* kStartupMetrics[] = …;
void AddProcessCreateMetrics(std::vector<const char*>& v) { … }
}
#if (BUILDFLAG(IS_WIN) && defined(ARCH_CPU_X86_64)) || \
BUILDFLAG(IS_CHROMEOS_LACROS)
#define MAYBE_ReportsValues …
#else
#define MAYBE_ReportsValues …
#endif
IN_PROC_BROWSER_TEST_F(StartupMetricsTest, MAYBE_ReportsValues) { … }