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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java

Issue 2145443002: Revert of Android: Add support for TraceEvent before the native library is loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
index 1715d7edf372be9a7ec31bf1a59fd1d459ab6d4f..ffe3e02dfe939b36c7c250c843eecd339b4c3f11 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
@@ -206,10 +206,6 @@
@Override
public void onCreate() {
UmaUtils.recordMainEntryPointTime();
- initCommandLine();
- TraceEvent.maybeEnableEarlyTracing();
- TraceEvent.begin("ChromeApplication.onCreate");
-
super.onCreate();
ContextUtils.initApplicationContext(this);
@@ -248,7 +244,6 @@
// in the SyncController constructor.
UniqueIdentificationGeneratorFactory.registerGenerator(SyncController.GENERATOR_ID,
new UuidBasedUniqueIdentificationGenerator(this, SESSIONS_UUID_PREF_KEY), false);
- TraceEvent.end("ChromeApplication.onCreate");
}
/**

Powered by Google App Engine
This is Rietveld 408576698