Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index bdab589108971e448cbdd9053a0420ed28be536e..15ff230ccb18b5dd2fc48cb747e4f3569f117f8f 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -340,7 +340,13 @@ struct MainFunction { |
} // namespace |
ChromeMainDelegate::ChromeMainDelegate() { |
+#if !defined(OS_ANDROID) |
startup_metric_utils::RecordMainEntryPointTime(); |
+#else |
+// On Android the main entry point time is when the Java code starts, not here. |
jeremy
2013/08/28 18:15:56
nit: not here -> this happens before the C++ side
aberent
2013/08/29 11:45:13
Done.
|
+// The Java side has recorded that, but the C++ side can't fetch it from the |
+// Java side until we have initialized the JNI. See ChromeMainDelegateAndroid. |
+#endif |
} |
ChromeMainDelegate::~ChromeMainDelegate() { |