Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 9cace20b631707f9542d932fd80eadc1915046b3..729d41ec4334c2d0b0c9ab65c59daad4e9fb77ef 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -206,6 +206,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
gfx::Size GetCanvasSize() const; |
void SetDeviceScaleFactor(float scale_factor); |
void setPoster(const blink::WebURL& poster) override; |
+ void SetUseFallbackPath(bool use_fallback_path); |
#endif |
// Called from WebMediaPlayerCast. |
@@ -545,6 +546,11 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
enum class CanSuspendState { UNKNOWN, YES, NO }; |
CanSuspendState can_suspend_state_; |
+ // Used for HLS playback and in certain fallback paths (e.g. on older devices |
+ // that can't support the unified media pipeline). |
+ GURL fallback_url_; |
+ bool use_fallback_path_; |
+ |
// Called some-time after OnHidden() if the media was suspended in a playing |
// state as part of the call to OnHidden(). |
base::OneShotTimer background_pause_timer_; |