#include "components/metrics/debug/metrics_internals_utils.h"
#include <string_view>
#include "components/metrics/metrics_pref_names.h"
#include "components/variations/client_filterable_state.h"
#include "components/variations/proto/study.pb.h"
#include "components/variations/service/variations_service.h"
namespace metrics {
namespace {
std::string ChannelToString(variations::Study::Channel channel) { … }
std::string PlatformToString(variations::Study::Platform platform) { … }
std::string CpuArchitectureToString(
variations::Study::CpuArchitecture cpu_architecture) { … }
std::string FormFactorToString(variations::Study::FormFactor form_factor) { … }
std::string BoolToString(bool val) { … }
base::Value::Dict CreateKeyValueDict(std::string_view key,
std::string_view value) { … }
}
base::Value::List GetUmaSummary(MetricsService* metrics_service) { … }
base::Value::List GetVariationsSummary(
metrics_services_manager::MetricsServicesManager* metrics_service_manager) { … }
}