Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index bc2bfbb066280408bc461f74678ed938f1d40d80..9b340e163f606ef1181756673b9aabaab5c42cd2 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -60,7 +60,6 @@ |
#include "content/browser/media/audio_stream_monitor.h" |
#include "content/browser/media/capture/web_contents_audio_muter.h" |
#include "content/browser/media/media_web_contents_observer.h" |
-#include "content/browser/media/session/media_session.h" |
#include "content/browser/message_port_message_filter.h" |
#include "content/browser/plugin_content_origin_whitelist.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
@@ -3786,33 +3785,6 @@ void WebContentsImpl::OnUpdateFaviconURL( |
observer.DidUpdateFaviconURL(candidates); |
} |
-void WebContentsImpl::OnMediaSessionStateChanged() { |
- MediaSession* session = MediaSession::Get(this); |
- for (auto& observer : observers_) { |
- observer.MediaSessionStateChanged(session->IsControllable(), |
- session->IsSuspended()); |
- } |
-} |
- |
-void WebContentsImpl::OnMediaSessionMetadataChanged() { |
- MediaSession* session = MediaSession::Get(this); |
- for (auto& observer : observers_) { |
- observer.MediaSessionMetadataChanged(session->metadata()); |
- } |
-} |
- |
-void WebContentsImpl::ResumeMediaSession() { |
- MediaSession::Get(this)->Resume(MediaSession::SuspendType::UI); |
-} |
- |
-void WebContentsImpl::SuspendMediaSession() { |
- MediaSession::Get(this)->Suspend(MediaSession::SuspendType::UI); |
-} |
- |
-void WebContentsImpl::StopMediaSession() { |
- MediaSession::Get(this)->Stop(MediaSession::SuspendType::UI); |
-} |
- |
void WebContentsImpl::OnPasswordInputShownOnHttp() { |
controller_.ssl_manager()->DidShowPasswordInputOnHttp(); |
} |