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

Unified Diff: media/blink/buffered_data_source_host_impl.h

Issue 574253002: Enhance WebMediaPlayer::buffered() to account for evicted ranges. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: media/blink/buffered_data_source_host_impl.h
diff --git a/media/blink/buffered_data_source_host_impl.h b/media/blink/buffered_data_source_host_impl.h
index fde5bb2eedac4c3ad982f8948620a4ce5acb153c..5f4ef11cdb14af04c4d8559e5b915082c1ef6cd4 100644
--- a/media/blink/buffered_data_source_host_impl.h
+++ b/media/blink/buffered_data_source_host_impl.h
@@ -23,6 +23,7 @@ class MEDIA_EXPORT BufferedDataSourceHostImpl
// BufferedDataSourceHost implementation.
virtual void SetTotalBytes(int64 total_bytes) OVERRIDE;
virtual void AddBufferedByteRange(int64 start, int64 end) OVERRIDE;
+ virtual void RemoveBufferedByteRange(int64 end) OVERRIDE;
// Translate the byte ranges to time ranges and append them to the list.
// TODO(sandersd): This is a confusing name, find something better.

Powered by Google App Engine
This is Rietveld 408576698