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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java

Issue 1178253005: Use Chromium's logging utility for content files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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: content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java b/content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java
index 48cbd5eb53b32aea44323c9971681f20cc409dbe..82a0cadc34b0385e0cbdfc4e91c1cc6e0fbd1c0e 100644
--- a/content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java
+++ b/content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java
@@ -10,11 +10,11 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.os.Environment;
import android.text.TextUtils;
-import android.util.Log;
import android.widget.Toast;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
+import org.chromium.base.Log;
import org.chromium.content.R;
import java.io.File;
@@ -42,7 +42,7 @@ import java.util.TimeZone;
@JNINamespace("content")
public class TracingControllerAndroid {
- private static final String TAG = "TracingControllerAndroid";
+ private static final String TAG = "cr.TracingController";
private static final String ACTION_START = "GPU_PROFILER_START";
private static final String ACTION_STOP = "GPU_PROFILER_STOP";
@@ -296,7 +296,7 @@ public class TracingControllerAndroid {
} else if (intent.getAction().endsWith(ACTION_LIST_CATEGORIES)) {
getCategoryGroups();
} else {
- Log.e(TAG, "Unexpected intent: " + intent);
+ Log.e(TAG, "Unexpected intent: %s", intent);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698