| Index: chrome/app/chrome_main_delegate.cc
|
| diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
|
| index aed0427230ba5a2cc4661c62f0c0597b37188047..944a79dca225941f2b0ca246ace06b19b0f39ef1 100644
|
| --- a/chrome/app/chrome_main_delegate.cc
|
| +++ b/chrome/app/chrome_main_delegate.cc
|
| @@ -434,8 +434,10 @@ void InitLogging(const std::string& process_type) {
|
| #endif
|
|
|
| #if !defined(CHROME_MULTIPLE_DLL_CHILD)
|
| -void RecordMainStartupMetrics() {
|
| +void RecordMainStartupMetrics(int64_t exe_entry_point_ticks) {
|
| #if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX)
|
| + startup_metric_utils::RecordExeMainEntryPointTicks(
|
| + base::TimeTicks::FromInternalValue(exe_entry_point_ticks));
|
| // Record the startup process creation time on supported platforms.
|
| startup_metric_utils::RecordStartupProcessCreationTime(
|
| base::CurrentProcessInfo::CreationTime());
|
| @@ -454,13 +456,13 @@ void RecordMainStartupMetrics() {
|
|
|
| } // namespace
|
|
|
| -ChromeMainDelegate::ChromeMainDelegate() {
|
| +ChromeMainDelegate::ChromeMainDelegate(int64_t exe_entry_point_ticks) {
|
| #if !defined(CHROME_MULTIPLE_DLL_CHILD)
|
| // Record startup metrics in the browser process. For component builds, there
|
| // is no way to know the type of process (process command line is not yet
|
| // initialized), so the function below will also be called in renderers.
|
| // This doesn't matter as it simply sets global variables.
|
| - RecordMainStartupMetrics();
|
| + RecordMainStartupMetrics(exe_entry_point_ticks);
|
| #endif // !defined(CHROME_MULTIPLE_DLL_CHILD)
|
| }
|
|
|
|
|