blob: 83c18a7c8bb7705705f6bb6a0865d0f613eca6c4 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/metrics/structured/lib/histogram_util.h"
#include "base/metrics/histogram_macros.h"
namespace metrics::structured {
void LogInternalError(StructuredMetricsError error) {
UMA_HISTOGRAM_ENUMERATION("UMA.StructuredMetrics.InternalError2", error);
}
void LogKeyValidation(KeyValidationState state) {
UMA_HISTOGRAM_ENUMERATION("UMA.StructuredMetrics.KeyValidationState", state);
}
} // namespace metrics::structured