chromium/components/privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations_histograms.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_PRIVACY_SANDBOX_PRIVACY_SANDBOX_ATTESTATIONS_PRIVACY_SANDBOX_ATTESTATIONS_HISTOGRAMS_H_
#define COMPONENTS_PRIVACY_SANDBOX_PRIVACY_SANDBOX_ATTESTATIONS_PRIVACY_SANDBOX_ATTESTATIONS_HISTOGRAMS_H_

namespace privacy_sandbox {

// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
//
// Note: The attestation component used to have a sentinel guard. It creates a
// sentinel file when attestation parsing crashes to prevent subsequent parsing
// attempts. It has been removed. The enum entries related to this sentinel
// guard is no longer used.
//
// TODO(crbug.com/351843800): Clean up unused enums and update histogram
// "PrivacySandbox.Attestations.Parsing.Status".
enum class ParsingStatus {};

enum class FileSource {};

inline constexpr char kAttestationStatusUMA[] =;
inline constexpr char kAttestationFirstCheckTimeUMA[] =;
inline constexpr char kAttestationsFileParsingStatusUMA[] =;
inline constexpr char kAttestationsFileSource[] =;
inline constexpr char kAttestationsFileParsingTimeUMA[] =;
inline constexpr char kAttestationsMapMemoryUsageUMA[] =;
inline constexpr char kComponentReadyFromApplicationStartUMA[] =;
inline constexpr char kComponentReadyFromApplicationStartWithInterruptionUMA[] =;
inline constexpr char kComponentReadyFromBrowserWindowFirstPaintUMA[] =;

}  // namespace privacy_sandbox

#endif  // COMPONENTS_PRIVACY_SANDBOX_PRIVACY_SANDBOX_ATTESTATIONS_PRIVACY_SANDBOX_ATTESTATIONS_HISTOGRAMS_H_