Chromium Code Reviews| Index: jingle/glue/proxy_resolving_client_socket.cc |
| diff --git a/jingle/glue/proxy_resolving_client_socket.cc b/jingle/glue/proxy_resolving_client_socket.cc |
| index c73601858405e5ba9919cfc93807f8ed46749ac6..e253db9bc1f131758a9a5eeb54a56dfd4642d980 100644 |
| --- a/jingle/glue/proxy_resolving_client_socket.cc |
| +++ b/jingle/glue/proxy_resolving_client_socket.cc |
| @@ -13,6 +13,7 @@ |
| #include "net/base/load_flags.h" |
| #include "net/base/net_errors.h" |
| #include "net/http/http_network_session.h" |
| +#include "net/http/http_transaction_factory.h" |
| #include "net/socket/client_socket_handle.h" |
| #include "net/socket/client_socket_pool_manager.h" |
| #include "net/url_request/url_request_context.h" |
| @@ -91,6 +92,11 @@ ProxyResolvingClientSocket::ProxyResolvingClientSocket( |
| } |
| network_session_ = new net::HttpNetworkSession(session_params); |
| + |
| + net::HttpAuthCache* existing_cache = |
| + request_context->http_transaction_factory() |
| + ->GetSession()->http_auth_cache(); |
| + network_session_->http_auth_cache()->UpdateAllFrom(*existing_cache); |
|
Ryan Sleevi
2014/08/23 02:47:12
Create your own HttpAuthCache.
Confirm that you r
|
| } |
| ProxyResolvingClientSocket::~ProxyResolvingClientSocket() { |