Chromium Code Reviews| Index: net/socket/client_socket_pool_manager.h |
| =================================================================== |
| --- net/socket/client_socket_pool_manager.h (revision 117986) |
| +++ net/socket/client_socket_pool_manager.h (working copy) |
| @@ -13,6 +13,7 @@ |
| #include "net/base/completion_callback.h" |
| #include "net/base/net_export.h" |
| #include "net/base/request_priority.h" |
| +#include "net/http/http_proxy_client_socket_pool.h" |
| class GURL; |
| @@ -88,7 +89,8 @@ |
| const SSLConfig& ssl_config_for_proxy, |
| const BoundNetLog& net_log, |
| ClientSocketHandle* socket_handle, |
| - const CompletionCallback& callback); |
| + const CompletionCallback& callback, |
| + TunnelAuthNeededCB auth_needed_callback); |
|
vandebo (ex-Chrome)
2012/01/19 20:12:49
I think the completion callback is usually last.
Ryan Hamilton
2012/01/19 23:11:19
Done.
|
| // A helper method that uses the passed in proxy information to initialize a |
| // ClientSocketHandle with the relevant socket pool. Use this method for |
| @@ -102,7 +104,8 @@ |
| const SSLConfig& ssl_config_for_proxy, |
| const BoundNetLog& net_log, |
| ClientSocketHandle* socket_handle, |
| - const CompletionCallback& callback); |
| + const CompletionCallback& callback, |
| + TunnelAuthNeededCB auth_needed_callback); |
| // Similar to InitSocketHandleForHttpRequest except that it initiates the |
| // desired number of preconnect streams from the relevant socket pool. |
| @@ -118,7 +121,8 @@ |
| const SSLConfig& ssl_config_for_origin, |
| const SSLConfig& ssl_config_for_proxy, |
| const BoundNetLog& net_log, |
| - int num_preconnect_streams); |
| + int num_preconnect_streams, |
| + TunnelAuthNeededCB auth_needed_callback); |
| } // namespace net |