Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: components/page_load_metrics/browser/page_load_metrics_observer.cc

Issue 1686643002: Add metric with time between background tab being foregrounded and the first paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/page_load_metrics/browser/page_load_metrics_observer.cc
diff --git a/components/page_load_metrics/browser/page_load_metrics_observer.cc b/components/page_load_metrics/browser/page_load_metrics_observer.cc
index b41c347c1f9a827aa3609efc5a728c753c9cd830..23a00fbaee3f6ce879bf04cf4539156b1f8207ab 100644
--- a/components/page_load_metrics/browser/page_load_metrics_observer.cc
+++ b/components/page_load_metrics/browser/page_load_metrics_observer.cc
@@ -7,13 +7,13 @@
namespace page_load_metrics {
PageLoadExtraInfo::PageLoadExtraInfo(
- const base::TimeDelta& first_background_time,
- const base::TimeDelta& first_foreground_time,
+ base::TimeDelta first_background_time,
+ base::TimeDelta first_foreground_time,
bool started_in_foreground,
const GURL& committed_url,
- const base::TimeDelta& time_to_commit,
+ base::TimeDelta time_to_commit,
UserAbortType abort_type,
- const base::TimeDelta& time_to_abort)
+ base::TimeDelta time_to_abort)
: first_background_time(first_background_time),
first_foreground_time(first_foreground_time),
started_in_foreground(started_in_foreground),

Powered by Google App Engine
This is Rietveld 408576698