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

Unified Diff: Source/core/streams/Stream.h

Issue 747323007: Introduce Stream::flush [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/core/streams/Stream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/streams/Stream.h
diff --git a/Source/core/streams/Stream.h b/Source/core/streams/Stream.h
index a0b8aff3b9e15734265e18736b0b98437c3afd34..0986b471afdbaed0cf120c841e6be93575390ecb 100644
--- a/Source/core/streams/Stream.h
+++ b/Source/core/streams/Stream.h
@@ -62,6 +62,8 @@ public:
// Appends data to this stream.
void addData(const char* data, size_t len);
+ // Flushes contents buffered in the stream.
+ void flush();
// Mark this stream finalized so that a reader of this stream is notified
// of EOF.
void finalize();
« no previous file with comments | « no previous file | Source/core/streams/Stream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698