chromium/components/feature_engagement/public/stats.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_STATS_H_
#define COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_STATS_H_

namespace feature_engagement::stats {

// Used in the metrics to track the configuration parsing event.
// The failure reasons are not mutually exclusive.
// Out-dated entries shouldn't be deleted but marked as obsolete.
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
// Keep this synced with the enum in //tools/metrics/histograms/enums.xml.
enum class ConfigParsingEvent {};

// Records configuration parsing event.
void RecordConfigParsingEvent(ConfigParsingEvent event);

}  // namespace feature_engagement::stats

#endif  // COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_STATS_H_