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

Side by Side Diff: Source/core/streams/ScriptUnderlyingSource.idl

Issue 1118673002: Implement ReadableStream as a V8 extra (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanups; make controller a member instead of arg Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « Source/core/streams/ScriptUnderlyingSource.cpp ('k') | Source/core/streams/StreamTest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This is not a spec interface. Instead, it is used to generate bindings
6 // so that Blink code which wishes to create a stream can derive from
7 // ScriptUnderlyingSource, and a JavaScript object can then be generated
8 // automatically for use in initializing a ScriptReadableStream.
9
10 [NoInterfaceObject, GarbageCollected]
11 interface ScriptUnderlyingSource {
12 Promise<void> start(any stream);
13 Promise<void> pull();
14 Promise<void> cancel([Default=Undefined] optional any reason);
15 };
OLDNEW
« no previous file with comments | « Source/core/streams/ScriptUnderlyingSource.cpp ('k') | Source/core/streams/StreamTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698