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

Side by Side Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 76443006: Certificate Transparency: Threading the CT verifier into the SSL client socket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Previous patchset leaked information from another issue Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/profiles/profile_impl_io_data.h" 5 #include "chrome/browser/profiles/profile_impl_io_data.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 main_context->set_transport_security_state(transport_security_state()); 364 main_context->set_transport_security_state(transport_security_state());
365 365
366 main_context->set_net_log(io_thread->net_log()); 366 main_context->set_net_log(io_thread->net_log());
367 367
368 main_context->set_network_delegate(network_delegate()); 368 main_context->set_network_delegate(network_delegate());
369 369
370 main_context->set_http_server_properties(http_server_properties()); 370 main_context->set_http_server_properties(http_server_properties());
371 371
372 main_context->set_host_resolver( 372 main_context->set_host_resolver(
373 io_thread_globals->host_resolver.get()); 373 io_thread_globals->host_resolver.get());
374 main_context->set_cert_transparency_verifier(
375 io_thread_globals->cert_transparency_verifier.get());
374 main_context->set_http_auth_handler_factory( 376 main_context->set_http_auth_handler_factory(
375 io_thread_globals->http_auth_handler_factory.get()); 377 io_thread_globals->http_auth_handler_factory.get());
376 378
377 main_context->set_fraudulent_certificate_reporter( 379 main_context->set_fraudulent_certificate_reporter(
378 fraudulent_certificate_reporter()); 380 fraudulent_certificate_reporter());
379 381
380 main_context->set_throttler_manager( 382 main_context->set_throttler_manager(
381 io_thread_globals->throttler_manager.get()); 383 io_thread_globals->throttler_manager.get());
382 384
383 main_context->set_proxy_service(proxy_service()); 385 main_context->set_proxy_service(proxy_service());
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 const base::Closure& completion) { 704 const base::Closure& completion) {
703 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 705 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
704 DCHECK(initialized()); 706 DCHECK(initialized());
705 707
706 DCHECK(transport_security_state()); 708 DCHECK(transport_security_state());
707 // Completes synchronously. 709 // Completes synchronously.
708 transport_security_state()->DeleteAllDynamicDataSince(time); 710 transport_security_state()->DeleteAllDynamicDataSince(time);
709 DCHECK(http_server_properties_manager_); 711 DCHECK(http_server_properties_manager_);
710 http_server_properties_manager_->Clear(completion); 712 http_server_properties_manager_->Clear(completion);
711 } 713 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698