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

Unified Diff: components/startup_metric_utils/browser/startup_metric_utils.h

Issue 2911743002: Add UMA metric of time to start the first render process (Closed)
Patch Set: rebase Created 3 years, 7 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/startup_metric_utils/browser/startup_metric_utils.h
diff --git a/components/startup_metric_utils/browser/startup_metric_utils.h b/components/startup_metric_utils/browser/startup_metric_utils.h
index 2e6fd0d3108d662352cd40e69f7760a4dda8e76e..6066d716056e51f2558e8b2acf85d513bdef8909 100644
--- a/components/startup_metric_utils/browser/startup_metric_utils.h
+++ b/components/startup_metric_utils/browser/startup_metric_utils.h
@@ -83,8 +83,10 @@ void RecordRendererMainEntryTime(base::TimeTicks ticks);
void RecordFirstWebContentsMainFrameLoad(base::TimeTicks ticks);
// Call this with the time when the first web contents had a non-empty paint,
-// only if the first web contents was unimpended in its attempt to do so.
-void RecordFirstWebContentsNonEmptyPaint(base::TimeTicks ticks);
+// only if the first web contents was unimpeded in its attempt to do so.
+void RecordFirstWebContentsNonEmptyPaint(
+ base::TimeTicks now,
+ base::TimeTicks render_process_host_init_time);
// Call this with the time when the first web contents began navigating its main
// frame. Adds a suffix to its metrics according to |workload|.

Powered by Google App Engine
This is Rietveld 408576698