Index: content/browser/streams/stream.h |
diff --git a/content/browser/streams/stream.h b/content/browser/streams/stream.h |
index 7c938b87c47f8ce92a4a89fea718530cd047cb8f..27788b305a2f2d37d85d27de4f09d2228e1f5cdf 100644 |
--- a/content/browser/streams/stream.h |
+++ b/content/browser/streams/stream.h |
@@ -68,6 +68,9 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { |
// of the data, and then passes it to |writer_|. |
void AddData(const char* data, size_t size); |
+ // Flushes contents buffered in the stream to the corresponding reader. |
+ void Flush(); |
+ |
// Notifies this stream that it will not be receiving any more data. |
void Finalize(); |