| 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 9d82f17f0c96cffaa3a7dc87f9e94989f285d314..adfa2aaaf4d67dd4c889f9621dfcdcecf5acd30f 100644
|
| --- a/content/browser/android/web_contents_observer_proxy.cc
|
| +++ b/content/browser/android/web_contents_observer_proxy.cc
|
| @@ -287,6 +287,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);
|
| }
|
|
|