#include "content/browser/webui/content_web_ui_configs.h"
#include <memory>
#include "content/browser/aggregation_service/aggregation_service_internals_ui.h"
#include "content/browser/attribution_reporting/attribution_internals_ui.h"
#include "content/browser/gpu/gpu_internals_ui.h"
#include "content/browser/indexed_db/indexed_db_internals_ui.h"
#include "content/browser/media/media_internals_ui.h"
#include "content/browser/metrics/histograms_internals_ui.h"
#include "content/browser/network/network_errors_listing_ui.h"
#include "content/browser/process_internals/process_internals_ui.h"
#include "content/browser/quota/quota_internals_ui.h"
#include "content/browser/service_worker/service_worker_internals_ui.h"
#include "content/browser/ukm_internals_ui.h"
#include "content/browser/webrtc/webrtc_internals_ui.h"
#include "content/public/browser/webui_config_map.h"
#if !BUILDFLAG(IS_ANDROID)
#include "content/browser/tracing/tracing_ui.h"
#endif
namespace content {
void RegisterContentWebUIConfigs() {
auto& map = WebUIConfigMap::GetInstance();
map.AddWebUIConfig(std::make_unique<AttributionInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<AggregationServiceInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<GpuInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<IndexedDBInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<MediaInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<HistogramsInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<NetworkErrorsListingUIConfig>());
map.AddWebUIConfig(std::make_unique<ProcessInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<QuotaInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<ServiceWorkerInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<UkmInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<WebRTCInternalsUIConfig>());
#if !BUILDFLAG(IS_ANDROID)
map.AddWebUIConfig(std::make_unique<TracingUIConfig>());
#endif
}
}