commit | 56443c070aaa3c4b1f8e0c05406ef966bf32b726 | [log] [tgz] |
---|---|---|
author | xunjieli <xunjieli@chromium.org> | Mon Mar 16 22:52:48 2015 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 16 22:53:39 2015 |
tree | 0be8de570f0880accd5313b4c97e6f206403a3eb | |
parent | d09e8c398fffce740e3b8b62d4cef3d7341a3361 [diff] |
[Cronet] Implement batch read in CronetInputStream Also added a test to test that batch read works when getMoreData() is called multiple times (i.e when the data is large). There are existing test cases for batch read (testInputStreamReadMoreBytesThanAvailable, testInputStreamReadExactBytesAvailable, and testInputStreamReadLessBytesThanAvailable) BUG=398997 Review URL: https://codereview.chromium.org/972213002 Cr-Commit-Position: refs/heads/master@{#320815}