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

Unified Diff: media/base/demuxer_stream.h

Issue 10698134: Merge 143765 - Ensure media's buffered ranges always have a range that includes currentTime. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « media/base/data_source.h ('k') | media/base/mock_data_source_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer_stream.h
===================================================================
--- media/base/demuxer_stream.h (revision 145933)
+++ media/base/demuxer_stream.h (working copy)
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "media/base/media_export.h"
+#include "media/base/ranges.h"
namespace media {
@@ -41,6 +42,9 @@
// if type() != VIDEO.
virtual const VideoDecoderConfig& video_decoder_config() = 0;
+ // Returns time ranges known to have been seen by this stream.
+ virtual Ranges<base::TimeDelta> GetBufferedRanges() = 0;
+
// Returns the type of stream.
virtual Type type() = 0;
« no previous file with comments | « media/base/data_source.h ('k') | media/base/mock_data_source_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698