1 // Copyright 2023 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_STRUCTURED_STRUCTURED_METRICS_UTILS_H_ 6 #define COMPONENTS_METRICS_DEBUG_STRUCTURED_STRUCTURED_METRICS_UTILS_H_ 7 8 #include "base/values.h" 9 #include "components/metrics/structured/event.h" 10 11 namespace metrics::structured { 12 13 class StructuredMetricsService; 14 15 // Collects summary information for Structured Metrics service. Value format can 16 // be found in structured_utils.ts. 17 base::Value GetStructuredMetricsSummary(StructuredMetricsService* service); 18 19 } // namespace metrics::structured 20 21 #endif // COMPONENTS_METRICS_DEBUG_STRUCTURED_STRUCTURED_METRICS_UTILS_H_ 22