commit | 7640faa369a7769b97719938c70e4e4910f476c3 | [log] [tgz] |
---|---|---|
author | xunjieli <[email protected]> | Thu Oct 06 00:45:42 2016 |
committer | Commit bot <[email protected]> | Thu Oct 06 00:48:07 2016 |
tree | c44eb3d06473f2b0324a2df6f0e64f0143b43e36 | |
parent | fdcd00fcf383479c62f41ce1e4a5ddace9eb7704 [diff] |
Remove OnDataAvailable() notification when trailers are to be delivered This CL used the change that is suggested by mpw@ in https://bugs.chromium.org/p/chromium/issues/detail?id=652935#c1. Specifically, this CL removes QuicChromiumClientStream::Delegate::OnDataAvailable() notification if there is no byte can be read and trailers are to be delivered. This CL adjusted unit tests to test the correct ordering of events. BUG=652935 Review-Url: https://codereview.chromium.org/2393233002 Cr-Commit-Position: refs/heads/master@{#423357}