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

Unified Diff: net/http/proxy_connect_redirect_http_stream.cc

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.cc
diff --git a/net/http/proxy_connect_redirect_http_stream.cc b/net/http/proxy_connect_redirect_http_stream.cc
index 4e12a327229005e284cb18ee21678b2457198886..3b166073a36c25af4aa2dc674f8c55f1fd6d2fd4 100644
--- a/net/http/proxy_connect_redirect_http_stream.cc
+++ b/net/http/proxy_connect_redirect_http_stream.cc
@@ -58,10 +58,6 @@ bool ProxyConnectRedirectHttpStream::IsResponseBodyComplete() const {
return true;
}
-bool ProxyConnectRedirectHttpStream::CanFindEndOfResponse() const {
- return true;
-}
-
bool ProxyConnectRedirectHttpStream::IsConnectionReused() const {
NOTREACHED();
return false;
@@ -71,8 +67,7 @@ void ProxyConnectRedirectHttpStream::SetConnectionReused() {
NOTREACHED();
}
-bool ProxyConnectRedirectHttpStream::IsConnectionReusable() const {
- NOTREACHED();
+bool ProxyConnectRedirectHttpStream::CanReuseConnection() const {
return false;
}
@@ -98,11 +93,6 @@ void ProxyConnectRedirectHttpStream::GetSSLCertRequestInfo(
NOTREACHED();
}
-bool ProxyConnectRedirectHttpStream::IsSpdyHttpStream() const {
- NOTREACHED();
- return false;
-}
-
void ProxyConnectRedirectHttpStream::Drain(HttpNetworkSession* session) {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698