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

Unified Diff: net/tools/quic/quic_simple_server_stream.h

Issue 2421173003: Allowing the SimpleQuicBackend to send an early response. Test-only change. (Closed)
Patch Set: Created 4 years, 2 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 | « net/quic/core/reliable_quic_stream.h ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_stream.h
diff --git a/net/tools/quic/quic_simple_server_stream.h b/net/tools/quic/quic_simple_server_stream.h
index 7217ad3aef6e52e4ec5e6ba75310d011268c5017..68e86b63cdaf50f32c6a6e18d86a1027bb938fa0 100644
--- a/net/tools/quic/quic_simple_server_stream.h
+++ b/net/tools/quic/quic_simple_server_stream.h
@@ -81,6 +81,8 @@ class QuicSimpleServerStream : public QuicSpdyStream {
SpdyHeaderBlock request_headers_;
int64_t content_length_;
std::string body_;
+ // Whether or not SendResponse() has been called.
+ bool response_started_;
DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerStream);
};
« no previous file with comments | « net/quic/core/reliable_quic_stream.h ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698