| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_UNIFIED_CONSENT_UNIFIED_CONSENT_METRICS_H_ |
| #define COMPONENTS_UNIFIED_CONSENT_UNIFIED_CONSENT_METRICS_H_ |
| |
| namespace unified_consent { |
| |
| namespace metrics { |
| |
| // Histogram enum: UnifiedConsentBumpAction. |
| enum class UnifiedConsentBumpAction : int { |
| kUnifiedConsentBumpActionDefaultOptIn = 0, |
| kUnifiedConsentBumpActionMoreOptionsOptIn, |
| kUnifiedConsentBumpActionMoreOptionsReviewSettings, |
| kUnifiedConsentBumpActionMoreOptionsNoChanges, |
| kUnifiedConsentBumpActionMoreOptionsMax, |
| }; |
| |
| // Records histogram action for the unified consent bump. |
| void RecordConsentBumpMetric(UnifiedConsentBumpAction action); |
| |
| } // namespace metrics |
| |
| } // namespace unified_consent |
| |
| #endif // COMPONENTS_UNIFIED_CONSENT_UNIFIED_CONSENT_METRICS_H_ |