Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(932)

Unified Diff: third_party/WebKit/public/platform/WebSourceBuffer.h

Issue 2102323002: MSE: Experimental support for new abort and duration behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698