Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 4726d393661f966f93097be588c2708bbb9f301c..226d6914d7b0b2eaaadfcf3fd13fdcbb9a93f07d 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -455,6 +455,14 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
// handling a src= or MSE based playback. |
void RecordUnderflowDuration(base::TimeDelta duration); |
+ // Called by the data source when loading progresses. |
+ // Can be called quite often. |
+ void OnProgress(); |
+ |
+ // Returns true when we estimate that we can play the rest of the media |
+ // without buffering. |
+ bool CanPlayThrough(); |
+ |
blink::WebLocalFrame* frame_; |
// The playback state last reported to |delegate_|, to avoid setting duplicate |