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

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

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « net/http/http_network_transaction.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Connecting to HTTPS Proxy 143 // Connecting to HTTPS Proxy
144 int DoSSLConnect(); 144 int DoSSLConnect();
145 int DoSSLConnectComplete(int result); 145 int DoSSLConnectComplete(int result);
146 146
147 int DoHttpProxyConnect(); 147 int DoHttpProxyConnect();
148 int DoHttpProxyConnectComplete(int result); 148 int DoHttpProxyConnectComplete(int result);
149 149
150 int DoSpdyProxyCreateStream(); 150 int DoSpdyProxyCreateStream();
151 int DoSpdyProxyCreateStreamComplete(int result); 151 int DoSpdyProxyCreateStreamComplete(int result);
152 152
153 void NotifyProxyDelegateOfCompletion(int result);
154
153 // Begins the tcp connection and the optional Http proxy tunnel. If the 155 // Begins the tcp connection and the optional Http proxy tunnel. If the
154 // request is not immediately servicable (likely), the request will return 156 // request is not immediately servicable (likely), the request will return
155 // ERR_IO_PENDING. An OK return from this function or the callback means 157 // ERR_IO_PENDING. An OK return from this function or the callback means
156 // that the connection is established; ERR_PROXY_AUTH_REQUESTED means 158 // that the connection is established; ERR_PROXY_AUTH_REQUESTED means
157 // that the tunnel needs authentication credentials, the socket will be 159 // that the tunnel needs authentication credentials, the socket will be
158 // returned in this case, and must be release back to the pool; or 160 // returned in this case, and must be release back to the pool; or
159 // a standard net error code will be returned. 161 // a standard net error code will be returned.
160 int ConnectInternal() override; 162 int ConnectInternal() override;
161 163
162 scoped_refptr<HttpProxySocketParams> params_; 164 scoped_refptr<HttpProxySocketParams> params_;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 TransportClientSocketPool* const transport_pool_; 285 TransportClientSocketPool* const transport_pool_;
284 SSLClientSocketPool* const ssl_pool_; 286 SSLClientSocketPool* const ssl_pool_;
285 PoolBase base_; 287 PoolBase base_;
286 288
287 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 289 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
288 }; 290 };
289 291
290 } // namespace net 292 } // namespace net
291 293
292 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 294 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction.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