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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/MediaSession.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/MediaSession.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/MediaSession.java b/content/public/android/java/src/org/chromium/content/browser/MediaSession.java
index 7395f9ba2bbbbd525721a55596f60fbc37298eae..17db4ecf1bd20075bdc718eddb52177b43d1b63f 100644
--- a/content/public/android/java/src/org/chromium/content/browser/MediaSession.java
+++ b/content/public/android/java/src/org/chromium/content/browser/MediaSession.java
@@ -23,7 +23,7 @@ import org.chromium.base.Log;
*/
@JNINamespace("content")
public class MediaSession implements AudioManager.OnAudioFocusChangeListener {
- private static final String TAG = "MediaSession";
+ private static final String TAG = "cr.MediaSession";
private Context mContext;
private int mFocusType;
@@ -78,7 +78,7 @@ public class MediaSession implements AudioManager.OnAudioFocusChangeListener {
nativeOnSuspend(mNativeMediaSession, false);
break;
default:
- Log.w(TAG, "onAudioFocusChange called with unexpected value " + focusChange);
+ Log.w(TAG, "onAudioFocusChange called with unexpected value %d", focusChange);
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698