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

Unified Diff: public/platform/WebBlobRegistry.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 | « Source/platform/blob/BlobRegistry.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebBlobRegistry.h
diff --git a/public/platform/WebBlobRegistry.h b/public/platform/WebBlobRegistry.h
index f4ce26f4313557df81abe9ade561d42dfddf32b1..7dac23d2d1591f6587d7cbb0ac4016c9629b1682 100644
--- a/public/platform/WebBlobRegistry.h
+++ b/public/platform/WebBlobRegistry.h
@@ -60,6 +60,9 @@ public:
// Add data to the stream referred by the URL.
virtual void addDataToStream(const WebURL&, const char* data, size_t length) { BLINK_ASSERT_NOT_REACHED(); }
+ // Flush contents buffered in the stream to the corresponding reader.
+ virtual void flushStream(const WebURL&) { BLINK_ASSERT_NOT_REACHED(); }
+
// Tell the registry that construction of this stream has completed
// successfully and so it won't receive any more data.
virtual void finalizeStream(const WebURL&) { BLINK_ASSERT_NOT_REACHED(); }
« no previous file with comments | « Source/platform/blob/BlobRegistry.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698