xref: /aosp_15_r20/external/cronet/components/metrics/debug/metrics_internals_utils.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef COMPONENTS_METRICS_DEBUG_METRICS_INTERNALS_UTILS_H_
6 #define COMPONENTS_METRICS_DEBUG_METRICS_INTERNALS_UTILS_H_
7 
8 #include "base/values.h"
9 #include "components/metrics/metrics_service.h"
10 #include "components/metrics_services_manager/metrics_services_manager.h"
11 
12 namespace metrics {
13 
14 base::Value::List GetUmaSummary(MetricsService* metrics_service);
15 
16 base::Value::List GetVariationsSummary(
17     metrics_services_manager::MetricsServicesManager* metrics_service_manager);
18 
19 }  // namespace metrics
20 
21 #endif  // COMPONENTS_METRICS_DEBUG_METRICS_INTERNALS_UTILS_H_
22