chromium/components/page_load_metrics/browser/observers/uma_file_and_data_page_load_metrics_observer.cc

// Copyright 2024 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/page_load_metrics/browser/observers/uma_file_and_data_page_load_metrics_observer.h"

#include "components/page_load_metrics/browser/page_load_metrics_util.h"
#include "content/public/browser/navigation_handle.h"
#include "url/gurl.h"

namespace {
const char kHistogramFirstContentfulPaintDataScheme[] =;
const char kHistogramFirstContentfulPaintFileScheme[] =;
const char kBackgroundHttpsOrDataOrFileSchemeHistogramFirstContentfulPaint[] =;
const char kHistogramLargestContentfulPaintDataScheme[] =;
const char kHistogramLargestContentfulPaintFileScheme[] =;
const char kBackgroundHttpsOrDataOrFileSchemeHistogramLargestContentfulPaint[] =;
}  // namespace

void UmaFileAndDataPageLoadMetricsObserver::OnFirstContentfulPaintInPage(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
UmaFileAndDataPageLoadMetricsObserver::ShouldObserveScheme(
    const GURL& url) const {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
UmaFileAndDataPageLoadMetricsObserver::OnFencedFramesStart(
    content::NavigationHandle* navigation_handle,
    const GURL& currently_committed_url) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
UmaFileAndDataPageLoadMetricsObserver::OnPrerenderStart(
    content::NavigationHandle* navigation_handle,
    const GURL& currently_committed_url) {}

void UmaFileAndDataPageLoadMetricsObserver::OnComplete(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

void UmaFileAndDataPageLoadMetricsObserver::RecordTimingHistograms() {}