Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5319)

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698