// Copyright 2022 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_ACCESS_CODE_CAST_COMMON_ACCESS_CODE_CAST_METRICS_H_ #define COMPONENTS_ACCESS_CODE_CAST_COMMON_ACCESS_CODE_CAST_METRICS_H_ #include "base/time/time.h" // NOTE: Do not renumber enums as that would confuse interpretation of // previously logged data. When making changes, also update the enum list // in tools/metrics/histograms/enums.xml to keep it in sync. // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AccessCodeCastAddSinkResult { … }; // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AccessCodeCastCastMode { … }; // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AccessCodeCastDialogCloseReason { … }; // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AccessCodeCastDialogOpenLocation { … }; // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AccessCodeCastDiscoveryTypeAndSource { … }; // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AccessCodeCastUiTabSwitcherUsage { … }; class AccessCodeCastMetrics { … }; #endif // COMPONENTS_ACCESS_CODE_CAST_COMMON_ACCESS_CODE_CAST_METRICS_H_