Index: content/browser/media/android/browser_media_session_manager.h |
diff --git a/content/browser/media/android/browser_media_session_manager.h b/content/browser/media/android/browser_media_session_manager.h |
index 3b07b295816780eb8859f5b71d5958501d4ad547..6e30ea1e7e3dbeea44d6c6caa0a287519a980984 100644 |
--- a/content/browser/media/android/browser_media_session_manager.h |
+++ b/content/browser/media/android/browser_media_session_manager.h |
@@ -6,6 +6,8 @@ |
#define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_SESSION_MANAGER_H_ |
#include "base/macros.h" |
+#include "base/memory/scoped_vector.h" |
+#include "content/browser/media/android/media_session.h" |
namespace IPC { |
class Message; |
@@ -25,10 +27,17 @@ class BrowserMediaSessionManager { |
int GetRoutingID() const; |
+ MediaSession* GetSession(int session_id); |
+ |
+ void RemovePlayers(MediaSessionObserver* observer); |
+ void RemovePlayer(MediaSessionObserver* observer, int player_id); |
+ void OnPlayerPaused(MediaSessionObserver* observer, int player_id); |
+ |
bool Send(IPC::Message* msg); |
private: |
RenderFrameHost* const render_frame_host_; |
+ ScopedVector<MediaSession> sessions_; |
DISALLOW_COPY_AND_ASSIGN(BrowserMediaSessionManager); |
}; |