Index: components/startup_metric_utils/startup_metric_utils.h |
diff --git a/components/startup_metric_utils/startup_metric_utils.h b/components/startup_metric_utils/startup_metric_utils.h |
index 9882b578cff2973c878a3b76b6476694512f86b2..3f6294763637ecfe5338ade72e53780a198226ac 100644 |
--- a/components/startup_metric_utils/startup_metric_utils.h |
+++ b/components/startup_metric_utils/startup_metric_utils.h |
@@ -52,6 +52,11 @@ void OnBrowserStartupComplete(bool is_first_run); |
// stats. |
void OnInitialPageLoadComplete(); |
+// Returns the time of main entry recorded from RecordMainEntryPointTime. |
+// Returns NULL if that method has not yet been called. |
+// This method is expected to be called from the UI thread. |
+const base::Time* MainEntryPointTime(); |
+ |
// Scoper that records the time period before it's destructed in a histogram |
// with the given name. The histogram is only recorded for slow chrome startups. |
// Useful for trying to figure out what parts of Chrome cause slow startup. |