summaryrefslogtreecommitdiff
path: root/chromium/media/base/android/media_player_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/base/android/media_player_bridge.h')
-rw-r--r--chromium/media/base/android/media_player_bridge.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/media/base/android/media_player_bridge.h b/chromium/media/base/android/media_player_bridge.h
index 8757e09b24a..52648721aa1 100644
--- a/chromium/media/base/android/media_player_bridge.h
+++ b/chromium/media/base/android/media_player_bridge.h
@@ -92,6 +92,7 @@ class MEDIA_EXPORT MediaPlayerBridge {
// Methods to partially expose the underlying MediaPlayer.
void SetVideoSurface(gl::ScopedJavaSurface surface);
+ void SetPlaybackRate(double playback_rate);
void Pause();
void SeekTo(base::TimeDelta timestamp);
base::TimeDelta GetCurrentTime();
@@ -153,6 +154,7 @@ class MEDIA_EXPORT MediaPlayerBridge {
// Set the data source for the media player.
void SetDataSource(const std::string& url);
+ void SetDataSourceInternal();
// Functions that implements media player control.
void StartInternal();
@@ -220,6 +222,12 @@ class MEDIA_EXPORT MediaPlayerBridge {
// Used to check for cookie content settings.
url::Origin top_frame_origin_;
+ // Waiting to retrieve cookies for |url_|.
+ bool pending_retrieve_cookies_;
+
+ // Whether to prepare after cookies retrieved.
+ bool should_prepare_on_retrieved_cookies_;
+
// User agent string to be used for media player.
const std::string user_agent_;