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

Unified Diff: net/http/http_basic_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: Fix tests 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
« no previous file with comments | « no previous file | net/http/http_basic_stream.cc » ('j') | net/http/http_network_transaction.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_basic_stream.h
diff --git a/net/http/http_basic_stream.h b/net/http/http_basic_stream.h
index 194f7ef6c206380a55d1b4ab002222d9b98eb637..b3d8301955d1843035e29d3cc1be17227c0e8f6f 100644
--- a/net/http/http_basic_stream.h
+++ b/net/http/http_basic_stream.h
@@ -56,13 +56,11 @@ class HttpBasicStream : public HttpStream {
bool IsResponseBodyComplete() const override;
- bool CanFindEndOfResponse() const override;
-
bool IsConnectionReused() const override;
void SetConnectionReused() override;
- bool IsConnectionReusable() const override;
+ bool CanReuseConnection() const override;
int64 GetTotalReceivedBytes() const override;
@@ -72,8 +70,6 @@ class HttpBasicStream : public HttpStream {
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
- bool IsSpdyHttpStream() const override;
-
void Drain(HttpNetworkSession* session) override;
void SetPriority(RequestPriority priority) override;
« no previous file with comments | « no previous file | net/http/http_basic_stream.cc » ('j') | net/http/http_network_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698