Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 031a0a10ba99e8f604fddfaafa8d5a968324df4c..a50b72ec649c9cfdfe2aaa879d11d563dba0fce8 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -391,7 +391,9 @@ void InitializeUserDataDir() { |
} // namespace |
ChromeMainDelegate::ChromeMainDelegate() { |
-#if defined(OS_ANDROID) |
+ // TODO(mfomitchev): Temporary record main entry point time here for Aura |
+ // while the Java code is broken. |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
// On Android the main entry point time is the time when the Java code starts. |
// This happens before the shared library containing this code is even loaded. |
// The Java startup code has recorded that time, but the C++ code can't fetch it |
@@ -819,7 +821,7 @@ void ChromeMainDelegate::SandboxInitialized(const std::string& process_type) { |
nacl_plugin::PPP_InitializeModule, |
nacl_plugin::PPP_ShutdownModule); |
#endif |
-#if defined(ENABLE_PLUGINS) |
+#if defined(ENABLE_PLUGINS) && !defined(OS_ANDROID) |
ChromeContentClient::SetPDFEntryFunctions( |
chrome_pdf::PPP_GetInterface, |
chrome_pdf::PPP_InitializeModule, |