Index: chrome/app/android/chrome_main_delegate_android.cc |
diff --git a/chrome/app/android/chrome_main_delegate_android.cc b/chrome/app/android/chrome_main_delegate_android.cc |
index 81f402936423b81d476b4374b57b0c7181c80c94..634118a85ea0269ca61f613fd557b77d85c9de5e 100644 |
--- a/chrome/app/android/chrome_main_delegate_android.cc |
+++ b/chrome/app/android/chrome_main_delegate_android.cc |
@@ -8,6 +8,8 @@ |
#include "base/debug/trace_event.h" |
#include "chrome/browser/android/chrome_jni_registrar.h" |
#include "chrome/browser/android/chrome_startup_flags.h" |
+#include "chrome/common/android/startup_metric_utils_android.h" |
+#include "chrome/common/startup_metric_utils.h" |
#include "content/public/browser/browser_main_runner.h" |
// ChromeMainDelegateAndroid is created when the library is loaded. It is always |
@@ -32,6 +34,9 @@ int ChromeMainDelegateAndroid::RunProcess( |
JNIEnv* env = base::android::AttachCurrentThread(); |
RegisterApplicationNativeMethods(env); |
+ base::Time startTime = chrome::android::GetMainEntryPointTime(); |
+ startup_metric_utils::RecordSavedMainEntryPointTime(startTime); |
+ |
browser_runner_.reset(content::BrowserMainRunner::Create()); |
return browser_runner_->Initialize(main_function_params); |
} |