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

Unified Diff: net/socket/ssl_host_info.cc

Issue 8692012: net: replace DnsRRResoler with TransportSecurityState in plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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
« no previous file with comments | « net/socket/ssl_host_info.h ('k') | net/url_request/url_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_host_info.cc
diff --git a/net/socket/ssl_host_info.cc b/net/socket/ssl_host_info.cc
index 83fab41da33013cafa5d7dfc86e77673c950b139..ad9165c1739d30e25de2d994d6b2be6631e04bf1 100644
--- a/net/socket/ssl_host_info.cc
+++ b/net/socket/ssl_host_info.cc
@@ -8,8 +8,6 @@
#include "base/metrics/histogram.h"
#include "base/pickle.h"
#include "base/string_piece.h"
-#include "net/base/dns_util.h"
-#include "net/base/dnsrr_resolver.h"
#include "net/base/ssl_config_service.h"
#include "net/base/x509_certificate.h"
#include "net/socket/ssl_client_socket.h"
@@ -35,22 +33,10 @@ SSLHostInfo::SSLHostInfo(
rev_checking_enabled_(ssl_config.rev_checking_enabled),
verify_ev_cert_(ssl_config.verify_ev_cert),
verifier_(cert_verifier),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
- dnsrr_resolver_(NULL),
- dns_callback_(NULL),
- dns_handle_(DnsRRResolver::kInvalidHandle) {
+ ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
}
SSLHostInfo::~SSLHostInfo() {
- if (dns_handle_ != DnsRRResolver::kInvalidHandle) {
- dnsrr_resolver_->CancelResolve(dns_handle_);
- delete dns_callback_;
- }
-}
-
-void SSLHostInfo::StartDnsLookup(DnsRRResolver* dnsrr_resolver) {
- dnsrr_resolver_ = dnsrr_resolver;
- // Note: currently disabled.
}
const SSLHostInfo::State& SSLHostInfo::state() const {
« no previous file with comments | « net/socket/ssl_host_info.h ('k') | net/url_request/url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698