| 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_io_data.h" | 5 #include "chrome/browser/profiles/profile_io_data.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 extensions_request_context_ = new ChromeURLRequestContext; | 432 extensions_request_context_ = new ChromeURLRequestContext; |
| 433 | 433 |
| 434 chrome_url_data_manager_backend_.reset(new ChromeURLDataManagerBackend); | 434 chrome_url_data_manager_backend_.reset(new ChromeURLDataManagerBackend); |
| 435 | 435 |
| 436 network_delegate_.reset(new ChromeNetworkDelegate( | 436 network_delegate_.reset(new ChromeNetworkDelegate( |
| 437 io_thread_globals->extension_event_router_forwarder.get(), | 437 io_thread_globals->extension_event_router_forwarder.get(), |
| 438 profile_params_->extension_info_map, | 438 profile_params_->extension_info_map, |
| 439 url_blacklist_manager_.get(), | 439 url_blacklist_manager_.get(), |
| 440 profile_params_->profile, | 440 profile_params_->profile, |
| 441 profile_params_->cookie_settings, | 441 profile_params_->cookie_settings, |
| 442 profile_params_->is_incognito, |
| 442 &enable_referrers_)); | 443 &enable_referrers_)); |
| 443 | 444 |
| 444 fraudulent_certificate_reporter_.reset( | 445 fraudulent_certificate_reporter_.reset( |
| 445 new chrome_browser_net::ChromeFraudulentCertificateReporter( | 446 new chrome_browser_net::ChromeFraudulentCertificateReporter( |
| 446 main_request_context_)); | 447 main_request_context_)); |
| 447 | 448 |
| 448 proxy_service_.reset( | 449 proxy_service_.reset( |
| 449 ProxyServiceFactory::CreateProxyService( | 450 ProxyServiceFactory::CreateProxyService( |
| 450 io_thread->net_log(), | 451 io_thread->net_log(), |
| 451 io_thread_globals->proxy_script_fetcher_context.get(), | 452 io_thread_globals->proxy_script_fetcher_context.get(), |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 #endif | 528 #endif |
| 528 bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); | 529 bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); |
| 529 if (!posted) | 530 if (!posted) |
| 530 delete this; | 531 delete this; |
| 531 } | 532 } |
| 532 | 533 |
| 533 void ProfileIOData::set_server_bound_cert_service( | 534 void ProfileIOData::set_server_bound_cert_service( |
| 534 net::ServerBoundCertService* server_bound_cert_service) const { | 535 net::ServerBoundCertService* server_bound_cert_service) const { |
| 535 server_bound_cert_service_.reset(server_bound_cert_service); | 536 server_bound_cert_service_.reset(server_bound_cert_service); |
| 536 } | 537 } |
| OLD | NEW |