#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/ui/webui/metrics_internals/metrics_internals_ui.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/metrics_internals/field_trials_handler.h"
#include "chrome/browser/ui/webui/metrics_internals/metrics_internals_handler.h"
#include "chrome/browser/ui/webui/webui_util.h"
#include "chrome/common/webui_url_constants.h"
#include "components/grit/metrics_internals_resources.h"
#include "components/grit/metrics_internals_resources_map.h"
#include "components/metrics/structured/buildflags/buildflags.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"
#if BUILDFLAG(STRUCTURED_METRICS_DEBUG_ENABLED)
#include "chrome/browser/ui/webui/metrics_internals/structured_metrics_internals_handler.h"
#endif
MetricsInternalsUI::MetricsInternalsUI(content::WebUI* web_ui)
: … { … }