| Index: net/url_request/url_request_test_util.cc
|
| diff --git a/net/url_request/url_request_test_util.cc b/net/url_request/url_request_test_util.cc
|
| index 5388b4978a5c66cfae615dbfb3b34c7fe30a8f9e..baaa8f836c49136c07ca90ae85933a40c94744ba 100644
|
| --- a/net/url_request/url_request_test_util.cc
|
| +++ b/net/url_request/url_request_test_util.cc
|
| @@ -84,9 +84,17 @@ void TestURLRequestContext::Init() {
|
| context_storage_.set_http_server_properties(
|
| new net::HttpServerPropertiesImpl);
|
| }
|
| + // In-memory server bound cert service.
|
| + if (!server_bound_cert_service()) {
|
| + context_storage_.set_server_bound_cert_service(
|
| + new net::ServerBoundCertService(
|
| + new net::DefaultServerBoundCertStore(NULL),
|
| + base::WorkerPool::GetTaskRunner(true)));
|
| + }
|
| net::HttpNetworkSession::Params params;
|
| params.host_resolver = host_resolver();
|
| params.cert_verifier = cert_verifier();
|
| + params.server_bound_cert_service = server_bound_cert_service();
|
| params.proxy_service = proxy_service();
|
| params.ssl_config_service = ssl_config_service();
|
| params.http_auth_handler_factory = http_auth_handler_factory();
|
| @@ -101,13 +109,6 @@ void TestURLRequestContext::Init() {
|
| // In-memory cookie store.
|
| if (!cookie_store())
|
| context_storage_.set_cookie_store(new net::CookieMonster(NULL, NULL));
|
| - // In-memory origin bound cert service.
|
| - if (!server_bound_cert_service()) {
|
| - context_storage_.set_server_bound_cert_service(
|
| - new net::ServerBoundCertService(
|
| - new net::DefaultServerBoundCertStore(NULL),
|
| - base::WorkerPool::GetTaskRunner(true)));
|
| - }
|
| if (accept_language().empty())
|
| set_accept_language("en-us,fr");
|
| if (accept_charset().empty())
|
|
|