summaryrefslogtreecommitdiffstats
path: root/media/base/android/media_player_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/android/media_player_bridge.h')
-rw-r--r--media/base/android/media_player_bridge.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/media/base/android/media_player_bridge.h b/media/base/android/media_player_bridge.h
index 4d08bc7..7dd5385 100644
--- a/media/base/android/media_player_bridge.h
+++ b/media/base/android/media_player_bridge.h
@@ -65,6 +65,8 @@ class MEDIA_EXPORT MediaPlayerBridge : public MediaPlayerAndroid {
virtual bool CanSeekForward() OVERRIDE;
virtual bool CanSeekBackward() OVERRIDE;
virtual bool IsPlayerReady() OVERRIDE;
+ virtual GURL GetUrl() OVERRIDE;
+ virtual GURL GetFirstPartyForCookies() OVERRIDE;
protected:
void SetMediaPlayer(jobject j_media_player);
@@ -83,10 +85,10 @@ class MEDIA_EXPORT MediaPlayerBridge : public MediaPlayerAndroid {
virtual void Prepare();
void OnMediaPrepared();
- private:
// Create the actual android media player.
- void CreateMediaPlayer();
+ virtual void CreateMediaPlayer();
+ private:
// Set the data source for the media player.
void SetDataSource(const std::string& url);