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

Unified Diff: net/http/http_stream_request.h

Issue 3110006: Add support for speaking SSL to an HTTP Proxy, to HttpProxyClientSocketPool (and friends) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « net/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/http/http_stream_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_request.h
===================================================================
--- net/http/http_stream_request.h (revision 57332)
+++ net/http/http_stream_request.h (working copy)
@@ -22,8 +22,12 @@
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 @@
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();
« no previous file with comments | « net/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/http/http_stream_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698