chromium/chrome/browser/page_load_metrics/observers/third_party_cookie_deprecation_page_load_metrics_observer.h

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

#ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_THIRD_PARTY_COOKIE_DEPRECATION_PAGE_LOAD_METRICS_OBSERVER_H_
#define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_THIRD_PARTY_COOKIE_DEPRECATION_PAGE_LOAD_METRICS_OBSERVER_H_

#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "components/content_settings/core/browser/cookie_settings.h"
#include "components/content_settings/core/common/cookie_settings_base.h"
#include "components/page_load_metrics/browser/page_load_metrics_observer.h"
#include "components/privacy_sandbox/tracking_protection_onboarding.h"

namespace tpcd::experiment {
class ExperimentManager;
}  // namespace tpcd::experiment

namespace {
ThirdPartyCookieAllowMechanism;
}  // namespace

// ThirdPartyCookieDeprecationMetricsObserver is responsible for recording
// number of page load sends at least one third party cookie while the
// experiment configuration is set to block third party cookies.
class ThirdPartyCookieDeprecationMetricsObserver
    : public page_load_metrics::PageLoadMetricsObserver {};

#endif  // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_THIRD_PARTY_COOKIE_DEPRECATION_PAGE_LOAD_METRICS_OBSERVER_H_