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

Unified Diff: net/quic/quic_http_stream.h

Issue 1884943003: HttpStreamParser: Don't reuse sockets which receive unparsed data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix drainer test ('True' means closed...) 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
Index: net/quic/quic_http_stream.h
diff --git a/net/quic/quic_http_stream.h b/net/quic/quic_http_stream.h
index a88a6e1f3ed1b8c93f7e56b0affdf52fa7d5584b..ac1a5d5f683cc7c25dedc9b93ba29974a2347129 100644
--- a/net/quic/quic_http_stream.h
+++ b/net/quic/quic_http_stream.h
@@ -24,6 +24,8 @@ namespace test {
class QuicHttpStreamPeer;
} // namespace test
+class HttpResponseInfo;
+
// The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a
// non-owning pointer to a QuicChromiumClientStream which it uses to
// send and receive data.
@@ -65,7 +67,8 @@ class NET_EXPORT_PRIVATE QuicHttpStream
bool GetRemoteEndpoint(IPEndPoint* endpoint) override;
Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
std::vector<uint8_t>* out) override;
- void Drain(HttpNetworkSession* session) override;
+ void Drain(HttpNetworkSession* session,
+ scoped_ptr<HttpResponseInfo> response_info) override;
void PopulateNetErrorDetails(NetErrorDetails* details) override;
void SetPriority(RequestPriority priority) override;

Powered by Google App Engine
This is Rietveld 408576698