OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/io_thread.h" | 5 #include "chrome/browser/io_thread.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/leak_tracker.h" | 10 #include "base/debug/leak_tracker.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "chrome/browser/net/passive_log_collector.h" | 26 #include "chrome/browser/net/passive_log_collector.h" |
27 #include "chrome/browser/net/pref_proxy_config_service.h" | 27 #include "chrome/browser/net/pref_proxy_config_service.h" |
28 #include "chrome/browser/net/proxy_service_factory.h" | 28 #include "chrome/browser/net/proxy_service_factory.h" |
29 #include "chrome/browser/net/sdch_dictionary_fetcher.h" | 29 #include "chrome/browser/net/sdch_dictionary_fetcher.h" |
30 #include "chrome/browser/prefs/pref_service.h" | 30 #include "chrome/browser/prefs/pref_service.h" |
31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
33 #include "content/browser/browser_thread.h" | 33 #include "content/browser/browser_thread.h" |
34 #include "content/browser/gpu/gpu_process_host.h" | 34 #include "content/browser/gpu/gpu_process_host.h" |
35 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h" | 35 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h" |
36 #include "content/common/content_client.h" | |
37 #include "content/common/net/url_fetcher.h" | 36 #include "content/common/net/url_fetcher.h" |
| 37 #include "content/public/common/content_client.h" |
38 #include "net/base/cert_verifier.h" | 38 #include "net/base/cert_verifier.h" |
39 #include "net/base/cookie_monster.h" | 39 #include "net/base/cookie_monster.h" |
40 #include "net/base/default_origin_bound_cert_store.h" | 40 #include "net/base/default_origin_bound_cert_store.h" |
41 #include "net/base/dnsrr_resolver.h" | 41 #include "net/base/dnsrr_resolver.h" |
42 #include "net/base/host_cache.h" | 42 #include "net/base/host_cache.h" |
43 #include "net/base/host_resolver.h" | 43 #include "net/base/host_resolver.h" |
44 #include "net/base/host_resolver_impl.h" | 44 #include "net/base/host_resolver_impl.h" |
45 #include "net/base/mapped_host_resolver.h" | 45 #include "net/base/mapped_host_resolver.h" |
46 #include "net/base/net_util.h" | 46 #include "net/base/net_util.h" |
47 #include "net/base/origin_bound_cert_service.h" | 47 #include "net/base/origin_bound_cert_service.h" |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 system_params.network_delegate = globals_->system_network_delegate.get(); | 622 system_params.network_delegate = globals_->system_network_delegate.get(); |
623 system_params.net_log = net_log_; | 623 system_params.net_log = net_log_; |
624 globals_->system_http_transaction_factory.reset( | 624 globals_->system_http_transaction_factory.reset( |
625 new net::HttpNetworkLayer( | 625 new net::HttpNetworkLayer( |
626 new net::HttpNetworkSession(system_params))); | 626 new net::HttpNetworkSession(system_params))); |
627 globals_->system_ftp_transaction_factory.reset( | 627 globals_->system_ftp_transaction_factory.reset( |
628 new net::FtpNetworkLayer(globals_->host_resolver.get())); | 628 new net::FtpNetworkLayer(globals_->host_resolver.get())); |
629 globals_->system_request_context = | 629 globals_->system_request_context = |
630 ConstructSystemRequestContext(globals_, net_log_); | 630 ConstructSystemRequestContext(globals_, net_log_); |
631 } | 631 } |
OLD | NEW |