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

Unified Diff: net/url_request/url_request_context.h

Issue 2067843003: Require a CTVerifier and CTPolicyEnforcer for TLS/QUIC sockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixup Created 4 years, 6 months 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/spdy/spdy_test_util_common.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1b00b0549a25aab89953e9ea7d16c14b18a9c2d0..498c7dfdcc8512e51dbc4f8b69b479ba30a9cffa 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -31,6 +31,7 @@ namespace net {
class CertVerifier;
class ChannelIDService;
class CookieStore;
+class CTPolicyEnforcer;
class CTVerifier;
class HostResolver;
class HttpAuthHandlerFactory;
@@ -164,6 +165,11 @@ class NET_EXPORT URLRequestContext
cert_transparency_verifier_ = verifier;
}
+ CTPolicyEnforcer* ct_policy_enforcer() const { return ct_policy_enforcer_; }
+ void set_ct_policy_enforcer(CTPolicyEnforcer* enforcer) {
+ ct_policy_enforcer_ = enforcer;
+ }
+
const URLRequestJobFactory* job_factory() const { return job_factory_; }
void set_job_factory(const URLRequestJobFactory* job_factory) {
job_factory_ = job_factory;
@@ -260,6 +266,7 @@ class NET_EXPORT URLRequestContext
CookieStore* cookie_store_;
TransportSecurityState* transport_security_state_;
CTVerifier* cert_transparency_verifier_;
+ CTPolicyEnforcer* ct_policy_enforcer_;
HttpTransactionFactory* http_transaction_factory_;
const URLRequestJobFactory* job_factory_;
URLRequestThrottlerManager* throttler_manager_;
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698