| OLD | NEW |
| 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 <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 main_context->set_cookie_store(cookie_store.get()); | 501 main_context->set_cookie_store(cookie_store.get()); |
| 502 | 502 |
| 503 // Set up server bound cert service. | 503 // Set up server bound cert service. |
| 504 if (!channel_id_service) { | 504 if (!channel_id_service) { |
| 505 DCHECK(!lazy_params_->channel_id_path.empty()); | 505 DCHECK(!lazy_params_->channel_id_path.empty()); |
| 506 | 506 |
| 507 scoped_refptr<QuotaPolicyChannelIDStore> channel_id_db = | 507 scoped_refptr<QuotaPolicyChannelIDStore> channel_id_db = |
| 508 new QuotaPolicyChannelIDStore( | 508 new QuotaPolicyChannelIDStore( |
| 509 lazy_params_->channel_id_path, | 509 lazy_params_->channel_id_path, |
| 510 BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( | 510 BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( |
| 511 BrowserThread::GetBlockingPool()->GetSequenceToken()), | 511 base::SequencedWorkerPool::GetSequenceToken()), |
| 512 lazy_params_->special_storage_policy.get()); | 512 lazy_params_->special_storage_policy.get()); |
| 513 channel_id_service = new net::ChannelIDService( | 513 channel_id_service = new net::ChannelIDService( |
| 514 new net::DefaultChannelIDStore(channel_id_db.get()), | 514 new net::DefaultChannelIDStore(channel_id_db.get()), |
| 515 base::WorkerPool::GetTaskRunner(true)); | 515 base::WorkerPool::GetTaskRunner(true)); |
| 516 } | 516 } |
| 517 | 517 |
| 518 set_channel_id_service(channel_id_service); | 518 set_channel_id_service(channel_id_service); |
| 519 main_context->set_channel_id_service(channel_id_service); | 519 main_context->set_channel_id_service(channel_id_service); |
| 520 | 520 |
| 521 scoped_ptr<net::HttpCache::BackendFactory> main_backend( | 521 scoped_ptr<net::HttpCache::BackendFactory> main_backend( |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 const base::Closure& completion) { | 774 const base::Closure& completion) { |
| 775 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 775 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| 776 DCHECK(initialized()); | 776 DCHECK(initialized()); |
| 777 | 777 |
| 778 DCHECK(transport_security_state()); | 778 DCHECK(transport_security_state()); |
| 779 // Completes synchronously. | 779 // Completes synchronously. |
| 780 transport_security_state()->DeleteAllDynamicDataSince(time); | 780 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 781 DCHECK(http_server_properties_manager_); | 781 DCHECK(http_server_properties_manager_); |
| 782 http_server_properties_manager_->Clear(completion); | 782 http_server_properties_manager_->Clear(completion); |
| 783 } | 783 } |
| OLD | NEW |