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

Unified Diff: net/http/http_proxy_client_socket_pool.h

Issue 2932993002: Determine proxy connection timeout based on current network quality (Closed)
Patch Set: mmenke comments Created 3 years, 6 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_proxy_client_socket_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_proxy_client_socket_pool.h
diff --git a/net/http/http_proxy_client_socket_pool.h b/net/http/http_proxy_client_socket_pool.h
index bf6dede8bea02c2e8b8006497bb17335cce21964..24c45174f87248f11ffcd9bb8afefb9ca7119c2b 100644
--- a/net/http/http_proxy_client_socket_pool.h
+++ b/net/http/http_proxy_client_socket_pool.h
@@ -5,6 +5,8 @@
#ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
#define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
+#include <stdint.h>
+
#include <memory>
#include <string>
@@ -226,6 +228,9 @@ class NET_EXPORT_PRIVATE HttpProxyClientSocketPool
TransportClientSocketPool* const transport_pool_;
SSLClientSocketPool* const ssl_pool_;
NetworkQualityProvider* network_quality_provider_;
+ const int32_t transport_rtt_multiplier_;
+ const base::TimeDelta min_proxy_connection_timeout_;
+ const base::TimeDelta max_proxy_connection_timeout_;
NetLog* net_log_;
DISALLOW_COPY_AND_ASSIGN(HttpProxyConnectJobFactory);
« no previous file with comments | « no previous file | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698