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

Unified Diff: content/public/android/java/src/org/chromium/content/common/TraceEvent.java

Issue 62333025: [Android] Move CommandLine.java to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 1 month 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: content/public/android/java/src/org/chromium/content/common/TraceEvent.java
diff --git a/content/public/android/java/src/org/chromium/content/common/TraceEvent.java b/content/public/android/java/src/org/chromium/content/common/TraceEvent.java
index a7196536d11acc380e374ab2465c23d929d777f1..5084bcf5c8d3a6f78be0c3bfe28d8973157f02f0 100644
--- a/content/public/android/java/src/org/chromium/content/common/TraceEvent.java
+++ b/content/public/android/java/src/org/chromium/content/common/TraceEvent.java
@@ -11,7 +11,9 @@ import android.os.SystemClock;
import android.util.Log;
import android.util.Printer;
+import org.chromium.base.CommandLine;
import org.chromium.base.ThreadUtils;
+import org.chromium.content.common.ContentSwitches;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@@ -167,7 +169,7 @@ public class TraceEvent {
// Holder for monitor avoids unnecessary construction on non-debug runs
private final static class LooperMonitorHolder {
private final static BasicLooperMonitor sInstance =
- CommandLine.getInstance().hasSwitch(CommandLine.ENABLE_IDLE_TRACING) ?
+ CommandLine.getInstance().hasSwitch(ContentSwitches.ENABLE_IDLE_TRACING) ?
new IdleTracingLooperMonitor() : new BasicLooperMonitor();
}

Powered by Google App Engine
This is Rietveld 408576698