DescriptionRemove BytesConsumer::read
BytesConsumer::read is rarely used, and it can be implemented on top of
two-phase read functions. Removing it allows endRead to return
Result::Done, which simplifies BytesConsumer implementations.
This CL also fixes a bug in BytesConsumerTestUtil.
BUG=610195
Committed: https://crrev.com/dc89b6cd125269af5033d6e6a158c12542c0785d
Cr-Commit-Position: refs/heads/master@{#419983}
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : fix #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 26 (19 generated)
|