Chromium Code Reviews| Index: media/blink/webmediaplayer_impl.h |
| diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
| index 16f3bbdbec91f6973d68da6e9dcb52e15f4c662f..b3f19444632770806bb0b69f87bfe5d63bfe2fd9 100644 |
| --- a/media/blink/webmediaplayer_impl.h |
| +++ b/media/blink/webmediaplayer_impl.h |
| @@ -204,6 +204,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
| gfx::Size GetCanvasSize() const; |
| void SetDeviceScaleFactor(float scale_factor); |
| void setPoster(const blink::WebURL& poster) override; |
| + void EnableFallbackMediaPlayer(const GURL& url); |
| #endif |
| // Called from WebMediaPlayerCast. |
| @@ -536,6 +537,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_; |
|
liberato (no reviews please)
2016/10/06 14:55:46
i don't think that this is initialized during cons
tguilbert
2016/10/11 18:54:33
Done.
|
| + |
| // 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_; |