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

Side by Side Diff: net/http/http_proxy_client_socket_pool.h

Issue 3259006: Add support for speaking SPDY to an HTTPS proxy.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_proxy_client_socket.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 scoped_refptr<HttpProxySocketParams> params_; 126 scoped_refptr<HttpProxySocketParams> params_;
127 const scoped_refptr<TCPClientSocketPool> tcp_pool_; 127 const scoped_refptr<TCPClientSocketPool> tcp_pool_;
128 const scoped_refptr<SSLClientSocketPool> ssl_pool_; 128 const scoped_refptr<SSLClientSocketPool> ssl_pool_;
129 const scoped_refptr<HostResolver> resolver_; 129 const scoped_refptr<HostResolver> resolver_;
130 130
131 State next_state_; 131 State next_state_;
132 CompletionCallbackImpl<HttpProxyConnectJob> callback_; 132 CompletionCallbackImpl<HttpProxyConnectJob> callback_;
133 scoped_ptr<ClientSocketHandle> transport_socket_handle_; 133 scoped_ptr<ClientSocketHandle> transport_socket_handle_;
134 scoped_ptr<ClientSocket> transport_socket_; 134 scoped_ptr<ClientSocket> transport_socket_;
135 bool using_spdy_;
135 136
136 DISALLOW_COPY_AND_ASSIGN(HttpProxyConnectJob); 137 DISALLOW_COPY_AND_ASSIGN(HttpProxyConnectJob);
137 }; 138 };
138 139
139 class HttpProxyClientSocketPool : public ClientSocketPool { 140 class HttpProxyClientSocketPool : public ClientSocketPool {
140 public: 141 public:
141 HttpProxyClientSocketPool( 142 HttpProxyClientSocketPool(
142 int max_sockets, 143 int max_sockets,
143 int max_sockets_per_group, 144 int max_sockets_per_group,
144 const scoped_refptr<ClientSocketPoolHistograms>& histograms, 145 const scoped_refptr<ClientSocketPoolHistograms>& histograms,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 224
224 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 225 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
225 }; 226 };
226 227
227 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, 228 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool,
228 HttpProxySocketParams); 229 HttpProxySocketParams);
229 230
230 } // namespace net 231 } // namespace net
231 232
232 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 233 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698