Revert 105675 - Revert 105669 - Additional infrastructure code supporting the report fraudulent certificate chains feature.
BUG=99185
Review URL: http://codereview.chromium.org/8055027
[email protected]
Review URL: http://codereview.chromium.org/8311002
[email protected]
Review URL: http://codereview.chromium.org/8308006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105698 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 1168ec5..1ac2b16 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -27,6 +27,7 @@
class CookieStore;
class DnsCertProvenanceChecker;
class DnsRRResolver;
+class FraudulentCertificateReporter;
class FtpTransactionFactory;
class HostResolver;
class HttpAuthHandlerFactory;
@@ -102,6 +103,14 @@
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) {
@@ -218,6 +227,7 @@
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_;