#include "chrome/browser/page_load_metrics/observers/page_anchors_metrics_observer.h"
#include "base/debug/dump_without_crashing.h"
#include "chrome/browser/navigation_predictor/navigation_predictor_metrics_document_data.h"
#include "content/public/browser/navigation_handle.h"
#include "services/metrics/public/cpp/metrics_utils.h"
#include "services/metrics/public/cpp/ukm_builders.h"
void PageAnchorsMetricsObserver::RecordAnchorElementMetricsDataToUkm() { … }
void PageAnchorsMetricsObserver::RecordDataToUkm() { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
PageAnchorsMetricsObserver::OnPrerenderStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
PageAnchorsMetricsObserver::OnFencedFramesStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
void PageAnchorsMetricsObserver::OnComplete(
const page_load_metrics::mojom::PageLoadTiming&) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
PageAnchorsMetricsObserver::FlushMetricsOnAppEnterBackground(
const page_load_metrics::mojom::PageLoadTiming&) { … }
void PageAnchorsMetricsObserver::UpdateRenderFrameHostAndSourceId(
content::NavigationHandle* navigation_handle) { … }
void PageAnchorsMetricsObserver::DidActivatePrerenderedPage(
content::NavigationHandle* navigation_handle) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
PageAnchorsMetricsObserver::OnCommit(
content::NavigationHandle* navigation_handle) { … }
void PageAnchorsMetricsObserver::OnRestoreFromBackForwardCache(
const page_load_metrics::mojom::PageLoadTiming& timing,
content::NavigationHandle* navigation_handle) { … }
void PageAnchorsMetricsObserver::OnRenderFrameDeleted(
content::RenderFrameHost* rfh) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
PageAnchorsMetricsObserver::OnEnterBackForwardCache(
const page_load_metrics::mojom::PageLoadTiming&) { … }