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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.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/BrowserStartupController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java b/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
index 784ab9e33e7a13e6e90db98954b56a729273079e..a7c830b4d1849d77559ad84ee1cf9fc32d7a2d95 100644
--- a/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
+++ b/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
@@ -6,10 +6,10 @@ package org.chromium.content.browser;
import android.content.Context;
import android.os.Handler;
-import android.util.Log;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
+import org.chromium.base.Log;
import org.chromium.base.ResourceExtractor;
import org.chromium.base.ThreadUtils;
import org.chromium.base.VisibleForTesting;
@@ -46,7 +46,7 @@ public class BrowserStartupController {
void onFailure();
}
- private static final String TAG = "BrowserStartupController";
+ private static final String TAG = "cr.BrowserStartup";
// Helper constants for {@link StartupCallback#onSuccess}.
private static final boolean ALREADY_STARTED = true;
@@ -272,7 +272,7 @@ public class BrowserStartupController {
void prepareToStartBrowserProcess(
final boolean singleProcess, final Runnable completionCallback)
throws ProcessInitException {
- Log.i(TAG, "Initializing chromium process, singleProcess=" + singleProcess);
+ Log.i(TAG, "Initializing chromium process, singleProcess=%b", singleProcess);
// Normally Main.java will have kicked this off asynchronously for Chrome. But other
// ContentView apps like tests also need them so we make sure we've extracted resources

Powered by Google App Engine
This is Rietveld 408576698