summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 17:47:27 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 17:47:27 +0000
commita2a4197d76cfe41bcad28ec1204bb53a360bd3f1 (patch)
tree0aa2be92bc9ab632c33febb219040bb4fb561cd5 /chrome/service
parent6e5ad865c61adb98f8f5d4c22ecb238478a9a368 (diff)
downloadchromium_src-a2a4197d76cfe41bcad28ec1204bb53a360bd3f1.zip
chromium_src-a2a4197d76cfe41bcad28ec1204bb53a360bd3f1.tar.gz
chromium_src-a2a4197d76cfe41bcad28ec1204bb53a360bd3f1.tar.bz2
net: replace DnsRRResoler with TransportSecurityState in plumbing.
The DnsRRResoler has served its time and I don't have any further plans for it. The TransportSecurityState will be used (in a future CL) to enforce public key pinning at certificate verification time. Currently we only enforce it in url_request_http_job.cc which means that we've already sent the HTTP request (inc cookies) by the time we catch the problem. This was expeditious while we fixed some other issues, but it's time to fix it. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/8692012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/net/service_url_request_context.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/service/net/service_url_request_context.cc b/chrome/service/net/service_url_request_context.cc
index d91f400..6a11d70 100644
--- a/chrome/service/net/service_url_request_context.cc
+++ b/chrome/service/net/service_url_request_context.cc
@@ -16,7 +16,6 @@
#include "chrome/service/service_process.h"
#include "net/base/cert_verifier.h"
#include "net/base/cookie_monster.h"
-#include "net/base/dnsrr_resolver.h"
#include "net/base/host_resolver.h"
#include "net/base/ssl_config_service_defaults.h"
#include "net/ftp/ftp_network_layer.h"
@@ -117,7 +116,6 @@ ServiceURLRequestContext::ServiceURLRequestContext(
storage_.set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver(
net_proxy_config_service, 0u, NULL));
storage_.set_cert_verifier(new net::CertVerifier);
- storage_.set_dnsrr_resolver(new net::DnsRRResolver);
storage_.set_ftp_transaction_factory(
new net::FtpNetworkLayer(host_resolver()));
storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults);
@@ -128,7 +126,6 @@ ServiceURLRequestContext::ServiceURLRequestContext(
net::HttpNetworkSession::Params session_params;
session_params.host_resolver = host_resolver();
session_params.cert_verifier = cert_verifier();
- session_params.dnsrr_resolver = dnsrr_resolver();
session_params.proxy_service = proxy_service();
session_params.ssl_config_service = ssl_config_service();
session_params.http_auth_handler_factory = http_auth_handler_factory();