Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 6a2e54193abe9f598653bde34e4bcb57c0be391c..fa0a9d9c1b05b2462732c7ab4cc645af168d6883 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -457,6 +457,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(); |
+ |
// Records |natural_size| to MediaLog and video height to UMA. |
void RecordVideoNaturalSize(const gfx::Size& natural_size); |