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 0d74e2d6a319c621653b7ed491d8095dbdfbc4f6..2496a59c44a017cc284075f42893f746048812bc 100644 |
--- a/components/page_load_metrics/browser/page_load_metrics_observer.h |
+++ b/components/page_load_metrics/browser/page_load_metrics_observer.h |
@@ -51,22 +51,20 @@ enum UserAbortType { |
}; |
struct PageLoadExtraInfo { |
- PageLoadExtraInfo(const base::TimeDelta& first_background_time, |
- const base::TimeDelta& first_foreground_time, |
+ PageLoadExtraInfo(base::TimeDelta first_background_time, |
+ base::TimeDelta first_foreground_time, |
bool started_in_foreground, |
const GURL& committed_url, |
const base::TimeDelta& time_to_commit, |
UserAbortType abort_type, |
const base::TimeDelta& time_to_abort); |
- // Returns the time to first background if the page load started in the |
- // foreground. If the page has not been backgrounded, or the page started in |
- // the background, this will be base::TimeDelta(). |
+ // The first time that the page was backgrounded since the navigation started. |
+ // If the page has not been backgrounded this will be base::TimeDelta(). |
const base::TimeDelta first_background_time; |
- // Returns the time to first foreground if the page load started in the |
- // background. If the page has not been foregrounded, or the page started in |
- // the foreground, this will be base::TimeDelta(). |
+ // The first time that the page was foregrounded since the navigation started. |
+ // If the page has not been foregrounded this will be base::TimeDelta(). |
const base::TimeDelta first_foreground_time; |
// True if the page load started in the foreground. |