Index: content/browser/web_contents/web_contents_android.h |
diff --git a/content/browser/web_contents/web_contents_android.h b/content/browser/web_contents/web_contents_android.h |
index 91db51d8d5c006b0fdbdfef928c3d787ef147b93..c73eec64b8c960007ee19973fa32abbccfa4beff 100644 |
--- a/content/browser/web_contents/web_contents_android.h |
+++ b/content/browser/web_contents/web_contents_android.h |
@@ -158,12 +158,13 @@ class CONTENT_EXPORT WebContentsAndroid |
const base::android::JavaParamRef<jobject>& obj, |
const base::android::JavaParamRef<jobject>& callback); |
- void ResumeMediaSession(JNIEnv* env, |
- const base::android::JavaParamRef<jobject>& obj); |
- void SuspendMediaSession(JNIEnv* env, |
- const base::android::JavaParamRef<jobject>& obj); |
- void StopMediaSession(JNIEnv* env, |
- const base::android::JavaParamRef<jobject>& obj); |
+ // Create a MediaSessionDelegateAndroid object as the native counterpart of |
+ // |j_delegate| and link then together, and add it to the MediaSession of this |
+ // WebContents object. |
+ void AddMediaSessionDelegate( |
+ JNIEnv* envm, |
+ const base::android::JavaParamRef<jobject>& obj, |
+ const base::android::JavaParamRef<jobject>& j_delegate); |
base::android::ScopedJavaLocalRef<jstring> GetEncoding( |
JNIEnv* env, |