| Index: content/browser/android/web_contents_observer_proxy.cc
|
| diff --git a/content/browser/android/web_contents_observer_proxy.cc b/content/browser/android/web_contents_observer_proxy.cc
|
| index c4cb1b726bb65dde2cb165ab40113008b3d36d84..34bf4fb3032ec267fe4347eac7b34a2f5158d38a 100644
|
| --- a/content/browser/android/web_contents_observer_proxy.cc
|
| +++ b/content/browser/android/web_contents_observer_proxy.cc
|
| @@ -288,6 +288,16 @@ void WebContentsObserverProxy::DidStartNavigationToPendingEntry(
|
| env, obj.obj(), jstring_url.obj());
|
| }
|
|
|
| +void WebContentsObserverProxy::MediaSessionStateChanged(bool is_controllable,
|
| + bool is_suspended) {
|
| + JNIEnv* env = AttachCurrentThread();
|
| +
|
| + ScopedJavaLocalRef<jobject> obj(java_observer_);
|
| +
|
| + Java_WebContentsObserverProxy_mediaSessionStateChanged(
|
| + env, obj.obj(), is_controllable, is_suspended);
|
| +}
|
| +
|
| bool RegisterWebContentsObserverProxy(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|