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

Unified Diff: net/http/proxy_connect_redirect_http_stream.h

Issue 1320683003: Move logic to figure out if a socket can be reused into HttpStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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 701d18d425a0be30f8fc081793024b3871c405c3..e268ebf67c62b0134ee4743fd26159fa0b7c816b 100644
--- a/net/http/proxy_connect_redirect_http_stream.h
+++ b/net/http/proxy_connect_redirect_http_stream.h
@@ -42,12 +42,9 @@ class ProxyConnectRedirectHttpStream : public HttpStream {
bool IsResponseBodyComplete() const override;
- // This function may be called.
- bool CanFindEndOfResponse() const override;
-
bool IsConnectionReused() const override;
void SetConnectionReused() override;
- bool IsConnectionReusable() const override;
+ bool CanReuseConnection() const override;
int64 GetTotalReceivedBytes() const override;
@@ -56,7 +53,6 @@ class ProxyConnectRedirectHttpStream : public HttpStream {
void GetSSLInfo(SSLInfo* ssl_info) override;
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
- bool IsSpdyHttpStream() const override;
void Drain(HttpNetworkSession* session) override;
// This function may be called.

Powered by Google App Engine
This is Rietveld 408576698