Add base class ReadableStreamController
This CL aims to add polymorphism to the readable stream controller classes. In particular, it adds a new base class called ReadableStreamController, and the ReadableStreamDefaultController and ReadableByteStreamController classes inherit PullSteps() and CancelSteps() from the ReadableStreamController. This is based on the approach discussed in https://docs.google.com/document/d/1rvKpGjppeqRSWntokY-ft_hU2i2us8gis6zgrrLWSTI/view Bug: 614302 Change-Id: I58439e52e43b525cadbb1a9d36dd950005a7c32c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531794 Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Reviewed-by:Adam Rice <ricea@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#827038}
Showing
Please register or sign in to comment