chromium/components/security_interstitials/content/content_metrics_helper.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/security_interstitials/content/content_metrics_helper.h"

#include <memory>

#include "components/captive_portal/core/buildflags.h"
#include "components/history/core/browser/history_service.h"
#include "content/public/browser/web_contents.h"

#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
#include "components/security_interstitials/content/captive_portal_metrics_recorder.h"
#endif

ContentMetricsHelper::ContentMetricsHelper(
    history::HistoryService* history_service,
    const GURL& request_url,
    const security_interstitials::MetricsHelper::ReportDetails settings)
    :{}

ContentMetricsHelper::~ContentMetricsHelper() = default;

#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
void ContentMetricsHelper::StartRecordingCaptivePortalMetrics(
    captive_portal::CaptivePortalService* captive_portal_service,
    bool overridable) {}
#endif

void ContentMetricsHelper::RecordExtraShutdownMetrics() {}