summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_request.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 20:13:46 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 20:13:46 +0000
commit2df19bbe98514cda5a61d0805b62beacd85a85d0 (patch)
tree9624087bcdcf85b4e873ea383f63f3a58ff249ce /net/http/http_stream_request.h
parentf5bbc935e2dbf097974ebe48d3ae7e6ef1220d38 (diff)
downloadchromium_src-2df19bbe98514cda5a61d0805b62beacd85a85d0.zip
chromium_src-2df19bbe98514cda5a61d0805b62beacd85a85d0.tar.gz
chromium_src-2df19bbe98514cda5a61d0805b62beacd85a85d0.tar.bz2
Attempting to re-land CL 3110006 which turned out to have
a memory leak. Add support for speaking SSL to an HTTP Proxy, to HttpProxyClientSocketPool (and friends) More information about an HTTPS Proxy can be found here: http://dev.chromium.org/spdy/spdy-proxy This implementation supports both http:// and https:// requests, as well as support for both Proxy and Server auth. BUG=29625 TEST=none Review URL: http://codereview.chromium.org/3112034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_request.h')
-rw-r--r--net/http/http_stream_request.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/net/http/http_stream_request.h b/net/http/http_stream_request.h
index c7c3cf2..758ce21 100644
--- a/net/http/http_stream_request.h
+++ b/net/http/http_stream_request.h
@@ -22,8 +22,12 @@ namespace net {
class ClientSocketHandle;
class HttpAuthController;
class HttpNetworkSession;
+class HttpProxySocketParams;
class HttpStreamFactory;
+class SOCKSSocketParams;
+class SSLSocketParams;
class StreamRequestDelegate;
+class TCPSocketParams;
struct HttpRequestInfo;
// An HttpStreamRequest exists for each stream which is in progress of being
@@ -107,6 +111,15 @@ class HttpStreamRequest : public StreamFactory::StreamRequestJob {
int DoRestartTunnelAuth();
int DoRestartTunnelAuthComplete(int result);
+ // Returns a newly create SSLSocketParams, and sets several
+ // fields of ssl_config_.
+ scoped_refptr<SSLSocketParams> GenerateSslParams(
+ scoped_refptr<TCPSocketParams> tcp_params,
+ scoped_refptr<HttpProxySocketParams> http_proxy_params,
+ scoped_refptr<SOCKSSocketParams> socks_params,
+ ProxyServer::Scheme proxy_scheme,
+ bool want_spdy_over_npn);
+
// AlternateProtocol API
void MarkBrokenAlternateProtocolAndFallback();
@@ -203,4 +216,3 @@ class HttpStreamRequest : public StreamFactory::StreamRequestJob {
} // namespace net
#endif // NET_HTTP_HTTP_STREAM_REQUEST_H_
-