chromium/chrome/browser/page_load_metrics/observers/preview_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_PREVIEW_PAGE_LOAD_METRICS_OBSERVER_H_
#define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PREVIEW_PAGE_LOAD_METRICS_OBSERVER_H_

#include "base/time/time.h"
#include "components/page_load_metrics/browser/page_load_metrics_observer.h"

// Records Link-Preview project related metrics to evaluate the project impact.
// So, it collects data from all kind of navigations regardless of the
// Link-Preview feature existence to analyse users' activity trend.
// As a starting point, this class experimentally records page visit types and
// total foreground time duration for each visit type to analyze a.k.a unwanted
// navigations.
class PreviewPageLoadMetricsObserver
    : public page_load_metrics::PageLoadMetricsObserver {};

#endif  // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PREVIEW_PAGE_LOAD_METRICS_OBSERVER_H_