X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcomponents%2Fstartup_metric_utils%2Fstartup_metric_utils.h;h=3f6294763637ecfe5338ade72e53780a198226ac;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=9882b578cff2973c878a3b76b6476694512f86b2;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/components/startup_metric_utils/startup_metric_utils.h b/src/components/startup_metric_utils/startup_metric_utils.h index 9882b57..3f62947 100644 --- a/src/components/startup_metric_utils/startup_metric_utils.h +++ b/src/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.