#include "components/page_load_metrics/browser/observers/assert_page_load_metrics_observer.h"
#include "components/page_load_metrics/browser/page_load_metrics_observer_delegate.h"
#include "components/page_load_metrics/browser/page_load_metrics_util.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/page.h"
PageLoadMetricsObserver;
PrerenderingState;
AssertPageLoadMetricsObserver::AssertPageLoadMetricsObserver() = default;
AssertPageLoadMetricsObserver::~AssertPageLoadMetricsObserver() { … }
const page_load_metrics::PageLoadMetricsObserverDelegate&
AssertPageLoadMetricsObserver::GetDelegate() const { … }
void AssertPageLoadMetricsObserver::SetDelegate(
page_load_metrics::PageLoadMetricsObserverDelegate* delegate) { … }
const char* AssertPageLoadMetricsObserver::GetObserverName() const { … }
PageLoadMetricsObserver::ObservePolicy AssertPageLoadMetricsObserver::OnStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url,
bool started_in_foreground) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnFencedFramesStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnPrerenderStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnPreviewStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnNavigationHandleTimingUpdated(
content::NavigationHandle* navigation_handle) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnRedirect(
content::NavigationHandle* navigation_handle) { … }
PageLoadMetricsObserver::ObservePolicy AssertPageLoadMetricsObserver::OnCommit(
content::NavigationHandle* navigation_handle) { … }
void AssertPageLoadMetricsObserver::DidActivatePrerenderedPage(
content::NavigationHandle* navigation_handle) { … }
void AssertPageLoadMetricsObserver::DidActivatePreviewedPage(
base::TimeTicks activation_time) { … }
void AssertPageLoadMetricsObserver::OnFailedProvisionalLoad(
const page_load_metrics::FailedProvisionalLoadInfo&
failed_provisional_load_info) { … }
void AssertPageLoadMetricsObserver::OnComplete(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::FlushMetricsOnAppEnterBackground(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::ShouldObserveMimeType(
const std::string& mime_type) const { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::ShouldObserveMimeTypeByDefault(
const std::string& mime_type) const { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::ShouldObserveScheme(const GURL& url) const { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnEnterBackForwardCache(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnEnterBackForwardCacheByDefault(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::ReadyToCommitNextNavigation(
content::NavigationHandle* navigation_handle) { … }
void AssertPageLoadMetricsObserver::OnCommitSameDocumentNavigation(
content::NavigationHandle* navigation_handle) { … }
void AssertPageLoadMetricsObserver::OnDidInternalNavigationAbort(
content::NavigationHandle* navigation_handle) { … }
void AssertPageLoadMetricsObserver::OnDidFinishSubFrameNavigation(
content::NavigationHandle* navigation_handle) { … }
PageLoadMetricsObserver::ObservePolicy
AssertPageLoadMetricsObserver::OnShown() { … }
PageLoadMetricsObserver::ObservePolicy AssertPageLoadMetricsObserver::OnHidden(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnTimingUpdate(
content::RenderFrameHost* subframe_rfh,
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnParseStart(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnParseStop(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnConnectStart(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnDomainLookupStart(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnDomainLookupEnd(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnDomContentLoadedEventStart(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnLoadEventStart(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnFirstPaintInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnFirstImagePaintInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnFirstContentfulPaintInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnFirstMeaningfulPaintInMainFrameDocument(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnFirstInputInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::
OnFirstPaintAfterBackForwardCacheRestoreInPage(
const page_load_metrics::mojom::BackForwardCacheTiming& timing,
size_t index) { … }
void AssertPageLoadMetricsObserver::
OnFirstInputAfterBackForwardCacheRestoreInPage(
const page_load_metrics::mojom::BackForwardCacheTiming& timing,
size_t index) { … }
void AssertPageLoadMetricsObserver::
OnRequestAnimationFramesAfterBackForwardCacheRestoreInPage(
const page_load_metrics::mojom::BackForwardCacheTiming& timing,
size_t index) { … }
void AssertPageLoadMetricsObserver::OnUserInput(
const blink::WebInputEvent& event,
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void AssertPageLoadMetricsObserver::OnPageInputTimingUpdate(
uint64_t num_interactions) { … }
void AssertPageLoadMetricsObserver::OnInputTimingUpdate(
content::RenderFrameHost* subframe_rfh,
const page_load_metrics::mojom::InputTiming& input_timing_delta) { … }
void AssertPageLoadMetricsObserver::OnRenderFrameDeleted(
content::RenderFrameHost* render_frame_host) { … }
void AssertPageLoadMetricsObserver::OnSubFrameDeleted(int frame_tree_node_id) { … }
void AssertPageLoadMetricsObserver::OnPageRenderDataUpdate(
const page_load_metrics::mojom::FrameRenderDataUpdate& render_data,
bool is_main_frame) { … }
void AssertPageLoadMetricsObserver::OnSubFrameRenderDataUpdate(
content::RenderFrameHost* subframe_rfh,
const page_load_metrics::mojom::FrameRenderDataUpdate& render_data) { … }
bool AssertPageLoadMetricsObserver::IsPrerendered() const { … }