| Index: chrome/browser/page_load_metrics/page_load_metrics_observer.h
|
| diff --git a/chrome/browser/page_load_metrics/page_load_metrics_observer.h b/chrome/browser/page_load_metrics/page_load_metrics_observer.h
|
| index 65271b1f226dae4e7ead5d16ea0b518deb147bef..fd8c8ffb16affce1d782c637335698ae6a6430fd 100644
|
| --- a/chrome/browser/page_load_metrics/page_load_metrics_observer.h
|
| +++ b/chrome/browser/page_load_metrics/page_load_metrics_observer.h
|
| @@ -166,21 +166,22 @@ class PageLoadMetricsObserver {
|
| // the navigation, but will be destroyed soon after this call. Don't hold a
|
| // reference to it.
|
| // Note that this does not get called for same-page navigations.
|
| // Observers that return STOP_OBSERVING will not receive any additional
|
| // callbacks, and will be deleted after invocation of this method returns.
|
| virtual ObservePolicy OnCommit(content::NavigationHandle* navigation_handle);
|
|
|
| // OnHidden is triggered when a page leaves the foreground. It does not fire
|
| // when a foreground page is permanently closed; for that, listen to
|
| // OnComplete instead.
|
| - virtual ObservePolicy OnHidden();
|
| + virtual ObservePolicy OnHidden(const PageLoadTiming& timing,
|
| + const PageLoadExtraInfo& extra_info);
|
|
|
| // OnShown is triggered when a page is brought to the foreground. It does not
|
| // fire when the page first loads; for that, listen for OnStart instead.
|
| virtual ObservePolicy OnShown();
|
|
|
| // The callbacks below are only invoked after a navigation commits, for
|
| // tracked page loads. Page loads that don't meet the criteria for being
|
| // tracked at the time a navigation commits will not receive any of the
|
| // callbacks below.
|
|
|
|
|