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

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

Issue 1028913002: ReadableStream.cancel's parameter should be optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/streams/ReadableStream.idl ('k') | Source/core/streams/ReadableStreamReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/streams/ReadableStreamReader.h
diff --git a/Source/core/streams/ReadableStreamReader.h b/Source/core/streams/ReadableStreamReader.h
index 5f8e8317f6b72e1851518d75babef98796b1a171..a83ba724997b29ef72af6c82befd3e2c2c7ca7cd 100644
--- a/Source/core/streams/ReadableStreamReader.h
+++ b/Source/core/streams/ReadableStreamReader.h
@@ -31,6 +31,7 @@ public:
ScriptPromise closed(ScriptState*);
bool isActive() const;
+ ScriptPromise cancel(ScriptState*);
ScriptPromise cancel(ScriptState*, ScriptValue reason);
ScriptPromise read(ScriptState*);
void releaseLock(ExceptionState&);
« no previous file with comments | « Source/core/streams/ReadableStream.idl ('k') | Source/core/streams/ReadableStreamReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698