Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Unified Diff: net/tools/quic/test_tools/quic_test_client.cc

Issue 1871903004: relnote: (test-only) Change the time QuicTestClient accreted num_responses_; (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@07_CL_119198371
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.cc
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc
index db9a9b982e8df5c62e83b3700ebb8f261f3c5997..3984046ee547c915f6d4a093973f06cec092864b 100644
--- a/net/tools/quic/test_tools/quic_test_client.cc
+++ b/net/tools/quic/test_tools/quic_test_client.cc
@@ -561,6 +561,7 @@ void QuicTestClient::OnClose(QuicSpdyStream* stream) {
// Always close the stream, regardless of whether it was the last stream
// written.
client()->OnClose(stream);
+ ++num_responses_;
}
if (stream_ != stream) {
return;
@@ -581,7 +582,6 @@ void QuicTestClient::OnClose(QuicSpdyStream* stream) {
response_header_size_ = response_headers_.GetSizeForWriteBuffer();
response_body_size_ = stream_->data().size();
stream_ = nullptr;
- ++num_responses_;
}
bool QuicTestClient::CheckVary(const SpdyHeaderBlock& client_request,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698