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

Unified Diff: net/http/proxy_connect_redirect_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/http/proxy_connect_redirect_http_stream.h
diff --git a/net/http/proxy_connect_redirect_http_stream.h b/net/http/proxy_connect_redirect_http_stream.h
index 36e595c585ba98d81bb21319c1d6a7f1a3d4f461..7698265b884a68d2eeae02eda8c256f6641839fd 100644
--- a/net/http/proxy_connect_redirect_http_stream.h
+++ b/net/http/proxy_connect_redirect_http_stream.h
@@ -14,6 +14,8 @@
namespace net {
+class HttpResponseInfo;
+
// A dummy HttpStream with no body used when a redirect is returned
// from a proxy.
class ProxyConnectRedirectHttpStream : public HttpStream {
@@ -59,7 +61,8 @@ class ProxyConnectRedirectHttpStream : public HttpStream {
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;
// This function may be called.

Powered by Google App Engine
This is Rietveld 408576698