| Index: chrome/browser/page_load_metrics/page_load_metrics_util.h
|
| diff --git a/chrome/browser/page_load_metrics/page_load_metrics_util.h b/chrome/browser/page_load_metrics/page_load_metrics_util.h
|
| index a81c04320fb818834c3187b6d018ed0674264375..d181d62c492900a2c014f3fa377f07c57d3126d8 100644
|
| --- a/chrome/browser/page_load_metrics/page_load_metrics_util.h
|
| +++ b/chrome/browser/page_load_metrics/page_load_metrics_util.h
|
| @@ -105,6 +105,15 @@ bool WasStartedInForegroundOptionalEventInForeground(
|
| const base::Optional<base::TimeDelta>& event,
|
| const PageLoadExtraInfo& info);
|
|
|
| +// Returns true if:
|
| +// - We have timing information for the event.
|
| +// - The page load started in the background.
|
| +// - Moved to the foreground prior to the event.
|
| +// - Not moved back to the background prior to the event.
|
| +bool WasStartedInBackgroundOptionalEventInForeground(
|
| + const base::Optional<base::TimeDelta>& event,
|
| + const PageLoadExtraInfo& info);
|
| +
|
| PageAbortInfo GetPageAbortInfo(const PageLoadExtraInfo& info);
|
|
|
| // Get the duration of time that the page spent in the foreground, from
|
|
|