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

Unified Diff: public/platform/WebBlobRegistry.h

Issue 23490013: Add method to abort Stream construction to BlobRegistry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « Source/core/fileapi/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 726c522044f38f1fa8d89eed2de43a9bba470b96..cc41b00eacaf464cff2a78c38ec6c4ba39715242 100644
--- a/public/platform/WebBlobRegistry.h
+++ b/public/platform/WebBlobRegistry.h
@@ -67,9 +67,14 @@ public:
// Add data to the stream referred by the URL.
virtual void addDataToStream(const WebURL&, WebThreadSafeData&) { WEBKIT_ASSERT_NOT_REACHED(); }
- // Tell the registry that this stream won't receive any more data.
+ // 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&) { WEBKIT_ASSERT_NOT_REACHED(); }
+ // Tell the registry that construction of this stream has been aborted and
+ // so it won't receive any more data.
+ virtual void abortStream(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(); }
+
// Unregisters a stream referred by the URL.
virtual void unregisterStreamURL(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(); }
};
« no previous file with comments | « Source/core/fileapi/BlobRegistry.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698