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

Unified Diff: media/base/seekable_buffer.h

Issue 8294025: Merge 105121 - Numerous fixes to audio/video buffered resource loading. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/874/src/
Patch Set: '' Created 9 years, 2 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/mock_filters.h ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/seekable_buffer.h
===================================================================
--- media/base/seekable_buffer.h (revision 105891)
+++ media/base/seekable_buffer.h (working copy)
@@ -103,6 +103,11 @@
forward_capacity_ = new_forward_capacity;
}
+ // Sets the backward_capacity to |new_backward_capacity| bytes.
+ void set_backward_capacity(size_t new_backward_capacity) {
+ backward_capacity_ = new_backward_capacity;
+ }
+
// Returns the maximum number of bytes that should be kept in the forward
// direction.
size_t forward_capacity() const { return forward_capacity_; }
« no previous file with comments | « media/base/mock_filters.h ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698