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

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

Issue 2899313006: Plumb NQP to context and to http_proxy_client_socket_pool (Closed)
Patch Set: fix compile error Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 7 #include <memory>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 main_context->set_transport_security_state(transport_security_state()); 480 main_context->set_transport_security_state(transport_security_state());
481 main_context->set_ct_policy_enforcer( 481 main_context->set_ct_policy_enforcer(
482 io_thread_globals->system_request_context->ct_policy_enforcer()); 482 io_thread_globals->system_request_context->ct_policy_enforcer());
483 483
484 main_context->set_net_log(io_thread->net_log()); 484 main_context->set_net_log(io_thread->net_log());
485 485
486 main_context->set_http_auth_handler_factory( 486 main_context->set_http_auth_handler_factory(
487 io_thread_globals->system_request_context->http_auth_handler_factory()); 487 io_thread_globals->system_request_context->http_auth_handler_factory());
488 488
489 main_context->set_proxy_service(proxy_service()); 489 main_context->set_proxy_service(proxy_service());
490 main_context->set_network_quality_estimator(
491 io_thread_globals->network_quality_estimator.get());
490 492
491 // Create a single task runner to use with the CookieStore and ChannelIDStore. 493 // Create a single task runner to use with the CookieStore and ChannelIDStore.
492 scoped_refptr<base::SequencedTaskRunner> cookie_background_task_runner = 494 scoped_refptr<base::SequencedTaskRunner> cookie_background_task_runner =
493 base::CreateSequencedTaskRunnerWithTraits( 495 base::CreateSequencedTaskRunnerWithTraits(
494 {base::MayBlock(), base::TaskPriority::BACKGROUND, 496 {base::MayBlock(), base::TaskPriority::BACKGROUND,
495 base::TaskShutdownBehavior::BLOCK_SHUTDOWN}); 497 base::TaskShutdownBehavior::BLOCK_SHUTDOWN});
496 498
497 // Set up server bound cert service. 499 // Set up server bound cert service.
498 DCHECK(!lazy_params_->channel_id_path.empty()); 500 DCHECK(!lazy_params_->channel_id_path.empty());
499 scoped_refptr<QuotaPolicyChannelIDStore> channel_id_db = 501 scoped_refptr<QuotaPolicyChannelIDStore> channel_id_db =
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 const base::Closure& completion) { 797 const base::Closure& completion) {
796 DCHECK_CURRENTLY_ON(BrowserThread::IO); 798 DCHECK_CURRENTLY_ON(BrowserThread::IO);
797 DCHECK(initialized()); 799 DCHECK(initialized());
798 800
799 DCHECK(transport_security_state()); 801 DCHECK(transport_security_state());
800 // Completes synchronously. 802 // Completes synchronously.
801 transport_security_state()->DeleteAllDynamicDataSince(time); 803 transport_security_state()->DeleteAllDynamicDataSince(time);
802 DCHECK(http_server_properties_manager_); 804 DCHECK(http_server_properties_manager_);
803 http_server_properties_manager_->Clear(completion); 805 http_server_properties_manager_->Clear(completion);
804 } 806 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698