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

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

Issue 1413533008: Add UMA metric: Startup.BrowserMainToRendererMain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 b071321b73a1b80ddf1f8050ed3ec36dced300b1..bd228844190ff8bad253f6babdb69fea141a8426 100644
--- a/components/startup_metric_utils/browser/startup_metric_utils.h
+++ b/components/startup_metric_utils/browser/startup_metric_utils.h
@@ -68,6 +68,12 @@ void RecordBrowserWindowDisplay(const base::Time& time);
// Call this with the time delta that the browser spent opening its tabs.
void RecordBrowserOpenTabsDelta(const base::TimeDelta& delta);
+// Call this with a renderer main entry time. The value provided for the first
+// call to this function is used to compute
+// Startup.LoadTime.BrowserDLLMainToRendererDLLMain. Further calls to this
+// function don't do anything.
gab 2015/11/06 18:05:17 s/don't do anything/are ignored/
fdoray 2015/11/09 15:53:56 Done.
+void RecordRendererMainEntryTime(const base::Time& time);
+
// Call this with the time when the first web contents loaded its main frame,
// only if the first web contents was unimpended in its attempt to do so.
void RecordFirstWebContentsMainFrameLoad(const base::Time& time);

Powered by Google App Engine
This is Rietveld 408576698