Index: third_party/WebKit/public/platform/WebSourceBuffer.h |
diff --git a/third_party/WebKit/public/platform/WebSourceBuffer.h b/third_party/WebKit/public/platform/WebSourceBuffer.h |
index b577cfc7a32d4a91b49c96d70b8c92d546cfb9f3..b1270d80b563a6200288f24076e497e2c1b76d67 100644 |
--- a/third_party/WebKit/public/platform/WebSourceBuffer.h |
+++ b/third_party/WebKit/public/platform/WebSourceBuffer.h |
@@ -56,6 +56,10 @@ public: |
virtual bool setMode(AppendMode) = 0; |
virtual WebTimeRanges buffered() = 0; |
+ // Returns the highest buffered presentation timestamp of all buffered coded |
+ // frames, or 0 if nothing is buffered. |
+ virtual double highestPresentationTimestamp() = 0; |
+ |
// Run coded frame eviction/garbage collection algorithm. |
// |currentPlaybackTime| is HTMLMediaElement::currentTime. The algorithm |
// will try to preserve data around current playback position. |