Index: media/base/data_source.h |
diff --git a/media/base/data_source.h b/media/base/data_source.h |
index a394a038853bb00b07495210c5c56c2712f732a2..7ce965fd97a3d828a4bd30207a833acff0cb093c 100644 |
--- a/media/base/data_source.h |
+++ b/media/base/data_source.h |
@@ -18,9 +18,8 @@ class MEDIA_EXPORT DataSourceHost { |
// Set the total size of the media file. |
virtual void SetTotalBytes(int64 total_bytes) = 0; |
- // Sets the total number of bytes that are buffered on the client and ready to |
- // be played. |
- virtual void SetBufferedBytes(int64 buffered_bytes) = 0; |
+ // Notify the host that byte range [start,end] has been buffered. |
+ virtual void AddBufferedByteRange(int64 start, int64 end) = 0; |
// Sets the flag to indicate current network activity. |
virtual void SetNetworkActivity(bool is_downloading_data) = 0; |