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

Unified Diff: ios/chrome/browser/ios_chrome_io_thread.mm

Issue 2079283002: [iOS/GN] Allow compilation with system clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename use_system_clang to is_clang_xcode 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: ios/chrome/browser/ios_chrome_io_thread.mm
diff --git a/ios/chrome/browser/ios_chrome_io_thread.mm b/ios/chrome/browser/ios_chrome_io_thread.mm
index 85c3bed7729596bcfd6ac1c3fb609eda27ea4485..97721b6b18a25ecc57dcc5af14e6a8944f02c4ac 100644
--- a/ios/chrome/browser/ios_chrome_io_thread.mm
+++ b/ios/chrome/browser/ios_chrome_io_thread.mm
@@ -359,7 +359,7 @@ void IOSChromeIOThread::Init() {
// Add built-in logs
ct_verifier->AddLogs(ct_logs);
- params_.ct_policy_enforcer = new net::CTPolicyEnforcer;
+ globals_->ct_policy_enforcer.reset(new net::CTPolicyEnforcer());
globals_->ssl_config_service = GetSSLConfigService();
@@ -530,6 +530,7 @@ net::URLRequestContext* IOSChromeIOThread::ConstructSystemRequestContext(
context->set_http_auth_handler_factory(
globals->http_auth_handler_factory.get());
context->set_proxy_service(globals->system_proxy_service.get());
+ context->set_ct_policy_enforcer(globals->ct_policy_enforcer.get());
net::URLRequestJobFactoryImpl* system_job_factory =
new net::URLRequestJobFactoryImpl();

Powered by Google App Engine
This is Rietveld 408576698