// 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_NON_TAB_WEBUI_PAGE_LOAD_METRICS_OBSERVER_H_ #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_NON_TAB_WEBUI_PAGE_LOAD_METRICS_OBSERVER_H_ #include "components/page_load_metrics/browser/page_load_metrics_observer.h" namespace chrome { extern const char kNonTabWebUIRequestToFCPHistogramName[]; // Records Page Load Metrics for non-tab chrome:// pages such as side-panel // content and webUI based bubbles. This covers any webUI that goes through // `WebUIContentsWrapperT` class NonTabPageLoadMetricsObserver : public page_load_metrics::PageLoadMetricsObserver { … }; } // namespace chrome #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_NON_TAB_WEBUI_PAGE_LOAD_METRICS_OBSERVER_H_