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

Unified Diff: net/url_request/url_request_context.h

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing pointer type and tests Created 6 years, 1 month 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
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 992f985f0332b441af1c21614e27a5c48974cd4f..c084f07f61638ab7883850139afd700c538bfd21 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -27,6 +27,7 @@
#include "net/url_request/url_request.h"
namespace net {
+class CertPolicyEnforcer;
class CertVerifier;
class ChannelIDService;
class CookieStore;
@@ -171,6 +172,13 @@ class NET_EXPORT URLRequestContext
cert_transparency_verifier_ = verifier;
}
+ CertPolicyEnforcer* cert_policy_enforcer() const {
+ return cert_policy_enforcer_;
+ }
+ void set_cert_policy_enforcer(CertPolicyEnforcer* policy_enforcer) {
+ cert_policy_enforcer_ = policy_enforcer;
+ }
mmenke 2014/11/05 19:32:36 Does this need to be part of the context? You're
Eran Messeri 2014/11/19 10:00:23 Matt says: "..I'm not suggesting it not be added t
+
const URLRequestJobFactory* job_factory() const { return job_factory_; }
void set_job_factory(const URLRequestJobFactory* job_factory) {
job_factory_ = job_factory;
@@ -235,6 +243,7 @@ class NET_EXPORT URLRequestContext
scoped_refptr<CookieStore> cookie_store_;
TransportSecurityState* transport_security_state_;
CTVerifier* cert_transparency_verifier_;
+ CertPolicyEnforcer* cert_policy_enforcer_;
HttpTransactionFactory* http_transaction_factory_;
const URLRequestJobFactory* job_factory_;
URLRequestThrottlerManager* throttler_manager_;
« net/socket/ssl_client_socket_openssl.cc ('K') | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698