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

Unified Diff: net/socket/client_socket_pool_manager.h

Issue 9148011: Allow chrome to handle 407 auth challenges to CONNECT requests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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
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

Powered by Google App Engine
This is Rietveld 408576698