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

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

#include <limits>

#include "components/page_load_metrics/browser/observers/shared_storage_page_load_metrics_observer.h"

#include "base/metrics/histogram_functions.h"
#include "base/numerics/checked_math.h"

const char* SharedStoragePageLoadMetricsObserver::GetObserverName() const {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
SharedStoragePageLoadMetricsObserver::OnStart(
    content::NavigationHandle* navigation_handle,
    const GURL& currently_committed_url,
    bool started_in_foreground) {}

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

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

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

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

void SharedStoragePageLoadMetricsObserver::OnSharedStorageWorkletHostCreated() {}

void SharedStoragePageLoadMetricsObserver::OnSharedStorageSelectURLCalled() {}

void SharedStoragePageLoadMetricsObserver::RecordSessionEndHistograms(
    const page_load_metrics::mojom::PageLoadTiming& main_frame_timing) {}