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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.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/ContentViewClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
index 873f42d152796f3eef8717da343fb376bae89f40..4ec6b0fde2e0c33713e294f5c994da17d4153119 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
@@ -28,7 +28,7 @@ import org.chromium.content.browser.SelectActionModeCallback.ActionHandler;
*/
public class ContentViewClient {
// Tag used for logging.
- private static final String TAG = "ContentViewClient";
+ private static final String TAG = "cr.ContentViewClient";
public void onUpdateTitle(String title) {
}
@@ -144,14 +144,14 @@ public class ContentViewClient {
try {
intent = Intent.parseUri(intentUrl, Intent.URI_INTENT_SCHEME);
} catch (Exception ex) {
- Log.w(TAG, "Bad URI " + intentUrl, ex);
+ Log.w(TAG, "Bad URI %s", intentUrl, ex);
return;
}
try {
context.startActivity(intent);
} catch (ActivityNotFoundException ex) {
- Log.w(TAG, "No application can handle " + intentUrl);
+ Log.w(TAG, "No application can handle %s", intentUrl);
}
}

Powered by Google App Engine
This is Rietveld 408576698