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

Unified Diff: net/spdy/spdy_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/spdy/spdy_http_stream.cc
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index 212b50de826a22abb1fd9609b34af8047db42bfe..f8546eceeddc526bcdac84f6ea6490bbd68347e2 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -160,10 +160,6 @@ bool SpdyHttpStream::IsResponseBodyComplete() const {
return stream_closed_;
}
-bool SpdyHttpStream::CanFindEndOfResponse() const {
- return true;
-}
-
bool SpdyHttpStream::IsConnectionReused() const {
return is_reused_;
}
@@ -172,7 +168,7 @@ void SpdyHttpStream::SetConnectionReused() {
// SPDY doesn't need an indicator here.
}
-bool SpdyHttpStream::IsConnectionReusable() const {
+bool SpdyHttpStream::CanReuseConnection() const {
// SPDY streams aren't considered reusable.
return false;
}
@@ -533,11 +529,8 @@ void SpdyHttpStream::GetSSLCertRequestInfo(
NOTREACHED();
}
-bool SpdyHttpStream::IsSpdyHttpStream() const {
- return true;
-}
-
void SpdyHttpStream::Drain(HttpNetworkSession* session) {
+ NOTREACHED();
Close(false);
delete this;
}

Powered by Google App Engine
This is Rietveld 408576698