Implement Polymorphism for Readable Stream Readers
This CL aims to add polymorphism to the readable stream reader classes. In particular, it makes the ReadableStreamGenericReader the base class, and the ReadableStreamDefaultReader and ReadableStreamBYOBReader classes inherit from the GenericReader. This is based on the approach discussed in https://docs.google.com/document/d/1rvKpGjppeqRSWntokY-ft_hU2i2us8gis6zgrrLWSTI/view Bug: 614302 Change-Id: I4dde2976938325c21aeb87c6980ac4ad1def483f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2528557Reviewed-by:Adam Rice <ricea@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Cr-Commit-Position: refs/heads/master@{#827034}
Showing
Please register or sign in to comment