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

Unified Diff: net/http/http_stream_factory_test_util.h

Issue 2771263002: Retry upon 421 status code without IP pooling. (Closed)
Patch Set: Rebase. Created 3 years, 9 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_stream_factory_test_util.h
diff --git a/net/http/http_stream_factory_test_util.h b/net/http/http_stream_factory_test_util.h
index 39df572d67760fb0eb45c9abd7b796b84a7b85f2..a8de702be927456d9d3cb1b36c7e2596b06cb1bb 100644
--- a/net/http/http_stream_factory_test_util.h
+++ b/net/http/http_stream_factory_test_util.h
@@ -101,6 +101,7 @@ class MockHttpStreamFactoryImplJob : public HttpStreamFactoryImpl::Job {
const SSLConfig& proxy_ssl_config,
HostPortPair destination,
GURL origin_url,
+ bool enable_ip_based_pooling,
NetLog* net_log);
MockHttpStreamFactoryImplJob(HttpStreamFactoryImpl::Job::Delegate* delegate,
@@ -114,6 +115,7 @@ class MockHttpStreamFactoryImplJob : public HttpStreamFactoryImpl::Job {
GURL origin_url,
AlternativeService alternative_service,
const ProxyServer& alternative_proxy_server,
+ bool enable_ip_based_pooling,
NetLog* net_log);
~MockHttpStreamFactoryImplJob() override;
@@ -139,6 +141,7 @@ class TestJobFactory : public HttpStreamFactoryImpl::JobFactory {
const SSLConfig& proxy_ssl_config,
HostPortPair destination,
GURL origin_url,
+ bool enable_ip_based_pooling,
NetLog* net_log) override;
HttpStreamFactoryImpl::Job* CreateJob(
@@ -152,6 +155,7 @@ class TestJobFactory : public HttpStreamFactoryImpl::JobFactory {
HostPortPair destination,
GURL origin_url,
AlternativeService alternative_service,
+ bool enable_ip_based_pooling,
NetLog* net_log) override;
HttpStreamFactoryImpl::Job* CreateJob(
@@ -165,6 +169,7 @@ class TestJobFactory : public HttpStreamFactoryImpl::JobFactory {
HostPortPair destination,
GURL origin_url,
const ProxyServer& alternative_proxy_server,
+ bool enable_ip_based_pooling,
NetLog* net_log) override;
MockHttpStreamFactoryImplJob* main_job() const { return main_job_; }

Powered by Google App Engine
This is Rietveld 408576698