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 16:00:05 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 16:00:05 +0000
commit8dbf33e8cf8658a02aebdde2202cd882c488211d (patch)
tree61090c9ba6eecee4b05a60568950d37f4ea4ffed /net/http/http_stream_request.h
parent381ea555123f1cdb465ea8d542fa2145121ac3e1 (diff)
downloadchromium_src-8dbf33e8cf8658a02aebdde2202cd882c488211d.zip
chromium_src-8dbf33e8cf8658a02aebdde2202cd882c488211d.tar.gz
chromium_src-8dbf33e8cf8658a02aebdde2202cd882c488211d.tar.bz2
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/3110006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_request.h')
-rw-r--r--net/http/http_stream_request.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/http/http_stream_request.h b/net/http/http_stream_request.h
index 3039839..cd1551e 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;
// An HttpStreamRequest exists for each stream which is in progress of being
// created for the StreamFactory.
@@ -106,6 +110,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();