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

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

Issue 18883002: Add Streams API support to XMLHttpRequest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: kinuko's comment Created 7 years, 3 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/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ('k') | Source/core/fileapi/Stream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/Stream.h
diff --git a/Source/core/fileapi/Stream.h b/Source/core/fileapi/Stream.h
index 71d9d81d9340d4519c53bebdc975639093a2ef4e..d80cc2403cb4e5d2c237805bc1527568b5d30a42 100644
--- a/Source/core/fileapi/Stream.h
+++ b/Source/core/fileapi/Stream.h
@@ -58,6 +58,9 @@ public:
// Mark this stream finalized so that a reader of this stream is notified
// of EOF.
void finalize();
+ // Mark this stream finalized due to an error so that a reader of this
+ // stream is notified of EOF due to the error.
+ void abort();
// Allow an external reader class to mark this object neutered so that they
// won't load the corresponding stream again. All stream objects are
« no previous file with comments | « Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ('k') | Source/core/fileapi/Stream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698