#ifndef CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_H_
#define CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_H_
#include <stdint.h>
#include <memory>
#include <optional>
#include <string>
#include "base/scoped_observation.h"
#include "build/build_config.h"
#include "chrome/browser/chrome_browser_main_extra_parts.h"
#include "components/flags_ui/flags_state.h"
#include "components/flags_ui/flags_storage.h"
#include "ui/display/display_observer.h"
class ChromeBrowserMainParts;
class PrefRegistrySimple;
class PrefService;
#if !BUILDFLAG(IS_ANDROID)
class BatteryDischargeReporter;
class PerformanceInterventionMetricsReporter;
class PowerMetricsReporter;
class ProcessMonitor;
#endif
#if BUILDFLAG(IS_LINUX)
class PressureMetricsReporter;
#endif
#if BUILDFLAG(IS_ANDROID)
bool IsBundleForMixedDeviceAccordingToVersionCode(
const std::string& version_code);
#endif
namespace chrome {
void AddMetricsExtraParts(ChromeBrowserMainParts* main_parts);
}
class ChromeBrowserMainExtraPartsMetrics : public ChromeBrowserMainExtraParts,
public display::DisplayObserver { … };
#endif