| Index: media/blink/webmediaplayer_impl.h
|
| diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
|
| index 8fcae51c904b86ce45a47e463d2ef69341a3ce10..c33fa0894f3648ca8099c91f315c6299fb8f12be 100644
|
| --- a/media/blink/webmediaplayer_impl.h
|
| +++ b/media/blink/webmediaplayer_impl.h
|
| @@ -205,6 +205,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.
|
| @@ -542,6 +543,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_;
|
|
|