#include "components/security_interstitials/content/captive_portal_metrics_recorder.h"
#include "base/metrics/histogram_macros.h"
namespace {
enum SSLInterstitialCauseCaptivePortal { … };
void RecordCaptivePortalEventStats(SSLInterstitialCauseCaptivePortal event) { … }
}
CaptivePortalMetricsRecorder::CaptivePortalMetricsRecorder(
captive_portal::CaptivePortalService* captive_portal_service,
bool overridable)
: … { … }
CaptivePortalMetricsRecorder::~CaptivePortalMetricsRecorder() = default;
void CaptivePortalMetricsRecorder::RecordCaptivePortalUMAStatistics() const { … }
void CaptivePortalMetricsRecorder::Observe(
const captive_portal::CaptivePortalService::Results& results) { … }