blob: a3ed577ead8026e4e5269ad30a0aa02790c3fd07 [file] [log] [blame]
// 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_