summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 17:50:27 +0000
committerlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 17:50:27 +0000
commit1d2f2c6d546390b9a10158d58a15b9b01b0f228d (patch)
tree63b1272f2c1af14b1dcd8c46f8f2cf480b93a463 /net
parentf82e7bed426008da1aee7e67bbba0c8fa21ca8d8 (diff)
downloadchromium_src-1d2f2c6d546390b9a10158d58a15b9b01b0f228d.zip
chromium_src-1d2f2c6d546390b9a10158d58a15b9b01b0f228d.tar.gz
chromium_src-1d2f2c6d546390b9a10158d58a15b9b01b0f228d.tar.bz2
Revert 105669 - Additional infrastructure code supporting the report fraudulent certificate chains feature.
BUG=99185 Review URL: http://codereview.chromium.org/8055027 TBR=palmer@chromium.org Review URL: http://codereview.chromium.org/8311002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request_context.cc2
-rw-r--r--net/url_request/url_request_context.h10
-rw-r--r--net/url_request/url_request_context_storage.cc8
-rw-r--r--net/url_request/url_request_context_storage.h4
4 files changed, 0 insertions, 24 deletions
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index ccfb5649..868532e 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -21,7 +21,6 @@ URLRequestContext::URLRequestContext()
origin_bound_cert_service_(NULL),
dnsrr_resolver_(NULL),
dns_cert_checker_(NULL),
- fraudulent_certificate_reporter_(NULL),
http_auth_handler_factory_(NULL),
proxy_service_(NULL),
network_delegate_(NULL),
@@ -41,7 +40,6 @@ void URLRequestContext::CopyFrom(URLRequestContext* other) {
set_origin_bound_cert_service(other->origin_bound_cert_service());
set_dnsrr_resolver(other->dnsrr_resolver());
set_dns_cert_checker(other->dns_cert_checker());
- set_fraudulent_certificate_reporter(other->fraudulent_certificate_reporter());
set_http_auth_handler_factory(other->http_auth_handler_factory());
set_proxy_service(other->proxy_service());
set_ssl_config_service(other->ssl_config_service());
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 1ac2b16..1168ec5 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -27,7 +27,6 @@ class CertVerifier;
class CookieStore;
class DnsCertProvenanceChecker;
class DnsRRResolver;
-class FraudulentCertificateReporter;
class FtpTransactionFactory;
class HostResolver;
class HttpAuthHandlerFactory;
@@ -103,14 +102,6 @@ class NET_EXPORT URLRequestContext
dns_cert_checker_ = dns_cert_checker;
}
- FraudulentCertificateReporter* fraudulent_certificate_reporter() const {
- return fraudulent_certificate_reporter_;
- }
- void set_fraudulent_certificate_reporter(
- FraudulentCertificateReporter* fraudulent_certificate_reporter) {
- fraudulent_certificate_reporter_ = fraudulent_certificate_reporter;
- }
-
// Get the proxy service for this context.
ProxyService* proxy_service() const { return proxy_service_; }
void set_proxy_service(ProxyService* proxy_service) {
@@ -227,7 +218,6 @@ class NET_EXPORT URLRequestContext
OriginBoundCertService* origin_bound_cert_service_;
DnsRRResolver* dnsrr_resolver_;
DnsCertProvenanceChecker* dns_cert_checker_;
- FraudulentCertificateReporter* fraudulent_certificate_reporter_;
HttpAuthHandlerFactory* http_auth_handler_factory_;
ProxyService* proxy_service_;
scoped_refptr<SSLConfigService> ssl_config_service_;
diff --git a/net/url_request/url_request_context_storage.cc b/net/url_request/url_request_context_storage.cc
index e73bd8e..a455cf3 100644
--- a/net/url_request/url_request_context_storage.cc
+++ b/net/url_request/url_request_context_storage.cc
@@ -18,7 +18,6 @@
#include "net/http/http_transaction_factory.h"
#include "net/proxy/proxy_service.h"
#include "net/socket/dns_cert_provenance_checker.h"
-#include "net/url_request/fraudulent_certificate_reporter.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_job_factory.h"
@@ -64,13 +63,6 @@ void URLRequestContextStorage::set_dns_cert_checker(
dns_cert_checker_.reset(dns_cert_checker);
}
-void URLRequestContextStorage::set_fraudulent_certificate_reporter(
- FraudulentCertificateReporter* fraudulent_certificate_reporter) {
- context_->set_fraudulent_certificate_reporter(
- fraudulent_certificate_reporter);
- fraudulent_certificate_reporter_.reset(fraudulent_certificate_reporter);
-}
-
void URLRequestContextStorage::set_http_auth_handler_factory(
HttpAuthHandlerFactory* http_auth_handler_factory) {
context_->set_http_auth_handler_factory(http_auth_handler_factory);
diff --git a/net/url_request/url_request_context_storage.h b/net/url_request/url_request_context_storage.h
index 2c839cc..b96efc9 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -17,7 +17,6 @@ class CertVerifier;
class CookieStore;
class DnsCertProvenanceChecker;
class DnsRRResolver;
-class FraudulentCertificateReporter;
class FtpTransactionFactory;
class HostResolver;
class HttpAuthHandlerFactory;
@@ -52,8 +51,6 @@ class NET_EXPORT URLRequestContextStorage {
OriginBoundCertService* origin_bound_cert_service);
void set_dnsrr_resolver(DnsRRResolver* dnsrr_resolver);
void set_dns_cert_checker(DnsCertProvenanceChecker* dns_cert_checker);
- void set_fraudulent_certificate_reporter(
- FraudulentCertificateReporter* fraudulent_certificate_reporter);
void set_http_auth_handler_factory(
HttpAuthHandlerFactory* http_auth_handler_factory);
void set_proxy_service(ProxyService* proxy_service);
@@ -82,7 +79,6 @@ class NET_EXPORT URLRequestContextStorage {
scoped_ptr<OriginBoundCertService> origin_bound_cert_service_;
scoped_ptr<DnsRRResolver> dnsrr_resolver_;
scoped_ptr<DnsCertProvenanceChecker> dns_cert_checker_;
- scoped_ptr<FraudulentCertificateReporter> fraudulent_certificate_reporter_;
scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_;
scoped_ptr<ProxyService> proxy_service_;
// TODO(willchan): Remove refcounting on these members.