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

// Copyright 2021 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/early_hints_page_load_metrics_observer.h"

#include "base/metrics/histogram_functions.h"
#include "components/page_load_metrics/browser/page_load_metrics_util.h"
#include "content/public/browser/navigation_handle.h"

namespace internal {

const char kHistogramEarlyHintsPreloadFirstContentfulPaint[] =;

const char kHistogramEarlyHintsPreloadLargestContentfulPaint[] =;

const char kHistogramEarlyHintsPreloadFirstInputDelay[] =;

}  // namespace internal

EarlyHintsPageLoadMetricsObserver::EarlyHintsPageLoadMetricsObserver() =
    default;

EarlyHintsPageLoadMetricsObserver::~EarlyHintsPageLoadMetricsObserver() =
    default;

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

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

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
EarlyHintsPageLoadMetricsObserver::OnCommit(
    content::NavigationHandle* navigation_handle) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
EarlyHintsPageLoadMetricsObserver::FlushMetricsOnAppEnterBackground(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

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

void EarlyHintsPageLoadMetricsObserver::RecordHistograms(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}