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

Unified Diff: chrome/browser/io_thread.cc

Issue 1579233002: Rename CertPolicyEnforcer to CTPolicyEnforcer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « chrome/browser/io_thread.h ('k') | ios/chrome/browser/ios_chrome_io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index cc7872f5efc962fa7e2d6533fe823dad312db444..150a758270be19cc738ea239c88449c46dbd9ef5 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -64,12 +64,12 @@
#include "net/base/net_util.h"
#include "net/base/network_quality_estimator.h"
#include "net/base/sdch_manager.h"
-#include "net/cert/cert_policy_enforcer.h"
#include "net/cert/cert_verifier.h"
#include "net/cert/cert_verify_proc.h"
#include "net/cert/ct_known_logs.h"
#include "net/cert/ct_known_logs_static.h"
#include "net/cert/ct_log_verifier.h"
+#include "net/cert/ct_policy_enforcer.h"
#include "net/cert/ct_verifier.h"
#include "net/cert/multi_log_ct_verifier.h"
#include "net/cert/multi_threaded_cert_verifier.h"
@@ -766,9 +766,9 @@ void IOThread::Init() {
// is fixed.
tracked_objects::ScopedTracker tracking_profile10(
FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "466432 IOThread::InitAsync::CertPolicyEnforcer"));
- net::CertPolicyEnforcer* policy_enforcer = new net::CertPolicyEnforcer;
- globals_->cert_policy_enforcer.reset(policy_enforcer);
+ "466432 IOThread::InitAsync::CTPolicyEnforcer"));
+ net::CTPolicyEnforcer* policy_enforcer = new net::CTPolicyEnforcer;
+ globals_->ct_policy_enforcer.reset(policy_enforcer);
globals_->ssl_config_service = GetSSLConfigService();
@@ -1114,7 +1114,7 @@ void IOThread::InitializeNetworkSessionParamsFromGlobals(
net::HttpNetworkSession::Params* params) {
// The next two properties of the params don't seem to be
// elements of URLRequestContext, so they must be set here.
- params->cert_policy_enforcer = globals.cert_policy_enforcer.get();
+ params->ct_policy_enforcer = globals.ct_policy_enforcer.get();
params->host_mapping_rules = globals.host_mapping_rules.get();
params->ignore_certificate_errors = globals.ignore_certificate_errors;
« no previous file with comments | « chrome/browser/io_thread.h ('k') | ios/chrome/browser/ios_chrome_io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698