| Index: components/page_load_metrics/browser/page_load_metrics_observer.h
|
| diff --git a/components/page_load_metrics/browser/page_load_metrics_observer.h b/components/page_load_metrics/browser/page_load_metrics_observer.h
|
| index 7b2f7f47873e2e24fd2a0859821ebe13fd054780..6a2a2c6100c239b2389fa5f801c69837b4e84eca 100644
|
| --- a/components/page_load_metrics/browser/page_load_metrics_observer.h
|
| +++ b/components/page_load_metrics/browser/page_load_metrics_observer.h
|
| @@ -126,6 +126,14 @@ class PageLoadMetricsObserver {
|
| virtual void OnFailedProvisionalLoad(
|
| content::NavigationHandle* navigation_handle) {}
|
|
|
| + // OnTimingUpdate is triggered when an updated PageLoadTiming is
|
| + // available. This method may be called multiple times over the course of the
|
| + // page load. Note that this is currently an experimental API which may be
|
| + // removed in the future. Please email loading-dev@chromium.org if you intend
|
| + // to override this method.
|
| + virtual void OnTimingUpdate(const PageLoadTiming& timing,
|
| + const PageLoadExtraInfo& extra_info) {}
|
| +
|
| // OnComplete is triggered when we are ready to record metrics for this page
|
| // load. This will happen some time after commit. The PageLoadTiming struct
|
| // contains timing data and the PageLoadExtraInfo struct contains other useful
|
|
|