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

Unified Diff: net/http/http_response_body_drainer_unittest.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/http_response_body_drainer_unittest.cc
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc
index ca206b7f5c7c71f2bdb9fb7d27d2de63608dfa40..f34f57fc5366dbef162c96c18703043c07108875 100644
--- a/net/http/http_response_body_drainer_unittest.cc
+++ b/net/http/http_response_body_drainer_unittest.cc
@@ -96,10 +96,9 @@ class MockHttpStream : public HttpStream {
return ERR_UNEXPECTED;
}
- bool CanFindEndOfResponse() const override { return true; }
bool IsConnectionReused() const override { return false; }
void SetConnectionReused() override {}
- bool IsConnectionReusable() const override { return false; }
+ bool CanReuseConnection() const override { return false; }
int64 GetTotalReceivedBytes() const override { return 0; }
void GetSSLInfo(SSLInfo* ssl_info) override {}
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}
@@ -118,8 +117,6 @@ class MockHttpStream : public HttpStream {
bool IsResponseBodyComplete() const override { return is_complete_; }
- bool IsSpdyHttpStream() const override { return false; }
-
bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698