DescriptionAdd test for SpdyReadQueue::Clear().
* Zero out |total_size_| member in SpdyReadQueue::Clear(), otherwise the next
call to IsEmpty() would crash.
* Add test for SpdyReadQueue::Clear().
* Add a comment to document class invariant.
* Move SpdyReadQueue tests into namespace test.
This is a follow-up to
https://crrev.com/2386883002/diff/40001/net/spdy/spdy_read_queue.cc#newcode53
Committed: https://crrev.com/5e373e7fba677f70461aeea5370f395741755e50
Cr-Commit-Position: refs/heads/master@{#422875}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 13 (7 generated)
|