Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
index fce0c95cb94d940e84e1b6b57e67e9306d1de840..8f737557863706fa3ed09301d2a23b0f3b0030ed 100644 |
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
@@ -307,19 +307,11 @@ public interface WebContents extends Parcelable { |
void requestAccessibilitySnapshot(AccessibilitySnapshotCallback callback); |
/** |
- * Resumes the current media session. |
+ * Add a {@link MediaSessionDelegate} to the native {@link MediaSession} of this |
+ * {@link WebContents} object. |
+ * @param delegate The delegate to be added to the native {@link MediaSession} |
*/ |
- void resumeMediaSession(); |
- |
- /** |
- * Suspends the current media session. |
- */ |
- void suspendMediaSession(); |
- |
- /** |
- * Stops the current media session. |
- */ |
- void stopMediaSession(); |
+ void addMediaSessionDelegate(MediaSessionDelegate delegate); |
/** |
* Add an observer to the WebContents |