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

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

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 | « Source/core/streams/Stream.h ('k') | Source/platform/blob/BlobRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/streams/Stream.cpp
diff --git a/Source/core/streams/Stream.cpp b/Source/core/streams/Stream.cpp
index 4f30eb8f7c726310736be342d9f64580243747f1..5c5adf085927341759e10b91b6b4fc3ba579bc39 100644
--- a/Source/core/streams/Stream.cpp
+++ b/Source/core/streams/Stream.cpp
@@ -56,6 +56,11 @@ void Stream::addData(const char* data, size_t len)
BlobRegistry::addDataToStream(m_internalURL, buffer);
}
+void Stream::flush()
+{
+ BlobRegistry::flushStream(m_internalURL);
+}
+
void Stream::finalize()
{
BlobRegistry::finalizeStream(m_internalURL);
« no previous file with comments | « Source/core/streams/Stream.h ('k') | Source/platform/blob/BlobRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698