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

Unified Diff: net/url_request/url_request_context.cc

Issue 2067843003: Require a CTVerifier and CTPolicyEnforcer for TLS/QUIC sockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extensions 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
Index: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index 1e69edd1b3ff64ab794c072a027d11a59a685511..a498cc4542e0ff83de35bb650446b6ceaf84b2f6 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -28,6 +28,7 @@ URLRequestContext::URLRequestContext()
cookie_store_(nullptr),
transport_security_state_(nullptr),
cert_transparency_verifier_(nullptr),
+ ct_policy_enforcer_(nullptr),
http_transaction_factory_(nullptr),
job_factory_(nullptr),
throttler_manager_(nullptr),
@@ -56,6 +57,7 @@ void URLRequestContext::CopyFrom(const URLRequestContext* other) {
set_cookie_store(other->cookie_store_);
set_transport_security_state(other->transport_security_state_);
set_cert_transparency_verifier(other->cert_transparency_verifier_);
+ set_ct_policy_enforcer(other->ct_policy_enforcer_);
set_http_transaction_factory(other->http_transaction_factory_);
set_job_factory(other->job_factory_);
set_throttler_manager(other->throttler_manager_);

Powered by Google App Engine
This is Rietveld 408576698