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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 1440643002: Certificate Transparency: Per-profile CT verification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing iOS compilation Created 5 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
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | ios/chrome/browser/ios_chrome_io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index d3fc54976e62ae09526dd90c86dfa7bc9a0b107f..595057a568bc247517e94c76d12e18cbccfd06f3 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -68,6 +68,7 @@
#include "net/base/keygen_handler.h"
#include "net/base/network_quality_estimator.h"
#include "net/cert/cert_verifier.h"
+#include "net/cert/multi_log_ct_verifier.h"
#include "net/cookies/canonical_cookie.h"
#include "net/http/http_network_session.h"
#include "net/http/http_transaction_factory.h"
@@ -1138,6 +1139,12 @@ void ProfileIOData::Init(
profile_params_->new_tab_page_interceptor.release());
}
+ scoped_ptr<net::MultiLogCTVerifier> ct_verifier(
+ new net::MultiLogCTVerifier());
+ ct_verifier->AddLogs(io_thread_globals->ct_logs);
+ main_request_context_->set_cert_transparency_verifier(ct_verifier.get());
+ cert_transparency_verifier_ = ct_verifier.Pass();
+
InitializeInternal(
network_delegate.Pass(), profile_params_.get(),
protocol_handlers, request_interceptors.Pass());
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | ios/chrome/browser/ios_chrome_io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698