| 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 52e282644676b2e1e5ffd47a0ebeddc3adac33b1..7a0d016b3e0cac04199d665524170487a9b26c63 100644
|
| --- a/chrome/browser/page_load_metrics/page_load_metrics_observer.h
|
| +++ b/chrome/browser/page_load_metrics/page_load_metrics_observer.h
|
| @@ -65,9 +65,11 @@ struct PageLoadExtraInfo {
|
| const base::Optional<base::TimeDelta>& first_background_time,
|
| const base::Optional<base::TimeDelta>& first_foreground_time,
|
| bool started_in_foreground,
|
| + bool user_gesture,
|
| const GURL& committed_url,
|
| const base::Optional<base::TimeDelta>& time_to_commit,
|
| UserAbortType abort_type,
|
| + bool abort_user_initiated,
|
| const base::Optional<base::TimeDelta>& time_to_abort,
|
| const PageLoadMetadata& metadata);
|
|
|
| @@ -84,6 +86,10 @@ struct PageLoadExtraInfo {
|
| // True if the page load started in the foreground.
|
| const bool started_in_foreground;
|
|
|
| + // True if this is either a browser initiated navigation or the user_gesture
|
| + // bit is true in the renderer.
|
| + const bool user_gesture;
|
| +
|
| // Committed URL. If the page load did not commit, |committed_url| will be
|
| // empty.
|
| const GURL committed_url;
|
| @@ -95,6 +101,10 @@ struct PageLoadExtraInfo {
|
| // aborted, |abort_type| will be |ABORT_NONE|.
|
| const UserAbortType abort_type;
|
|
|
| + // TODO(csharrison): If more metadata for aborts is needed we should provide a
|
| + // better abstraction. Note that this is an approximation.
|
| + bool abort_user_initiated;
|
| +
|
| const base::Optional<base::TimeDelta> time_to_abort;
|
|
|
| // Extra information supplied to the page load metrics system from the
|
|
|