| 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/io_thread.h" | 5 #include "chrome/browser/io_thread.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "chrome/browser/net/connect_interceptor.h" | 27 #include "chrome/browser/net/connect_interceptor.h" |
| 28 #include "chrome/browser/net/http_pipelining_compatibility_client.h" | 28 #include "chrome/browser/net/http_pipelining_compatibility_client.h" |
| 29 #include "chrome/browser/net/pref_proxy_config_tracker.h" | 29 #include "chrome/browser/net/pref_proxy_config_tracker.h" |
| 30 #include "chrome/browser/net/proxy_service_factory.h" | 30 #include "chrome/browser/net/proxy_service_factory.h" |
| 31 #include "chrome/browser/net/sdch_dictionary_fetcher.h" | 31 #include "chrome/browser/net/sdch_dictionary_fetcher.h" |
| 32 #include "chrome/browser/prefs/pref_service.h" | 32 #include "chrome/browser/prefs/pref_service.h" |
| 33 #include "chrome/common/chrome_switches.h" | 33 #include "chrome/common/chrome_switches.h" |
| 34 #include "chrome/common/pref_names.h" | 34 #include "chrome/common/pref_names.h" |
| 35 #include "content/public/browser/browser_thread.h" | 35 #include "content/public/browser/browser_thread.h" |
| 36 #include "content/public/common/content_client.h" | 36 #include "content/public/common/content_client.h" |
| 37 #include "content/public/common/url_fetcher.h" | |
| 38 #include "net/base/cert_verifier.h" | 37 #include "net/base/cert_verifier.h" |
| 39 #include "net/base/default_server_bound_cert_store.h" | 38 #include "net/base/default_server_bound_cert_store.h" |
| 40 #include "net/base/host_cache.h" | 39 #include "net/base/host_cache.h" |
| 41 #include "net/base/host_resolver.h" | 40 #include "net/base/host_resolver.h" |
| 42 #include "net/base/mapped_host_resolver.h" | 41 #include "net/base/mapped_host_resolver.h" |
| 43 #include "net/base/net_util.h" | 42 #include "net/base/net_util.h" |
| 44 #include "net/base/sdch_manager.h" | 43 #include "net/base/sdch_manager.h" |
| 45 #include "net/base/server_bound_cert_service.h" | 44 #include "net/base/server_bound_cert_service.h" |
| 46 #include "net/cookies/cookie_monster.h" | 45 #include "net/cookies/cookie_monster.h" |
| 47 #include "net/ftp/ftp_network_layer.h" | 46 #include "net/ftp/ftp_network_layer.h" |
| 48 #include "net/http/http_auth_filter.h" | 47 #include "net/http/http_auth_filter.h" |
| 49 #include "net/http/http_auth_handler_factory.h" | 48 #include "net/http/http_auth_handler_factory.h" |
| 50 #include "net/http/http_network_layer.h" | 49 #include "net/http/http_network_layer.h" |
| 51 #include "net/http/http_network_session.h" | 50 #include "net/http/http_network_session.h" |
| 52 #include "net/http/http_server_properties_impl.h" | 51 #include "net/http/http_server_properties_impl.h" |
| 53 #include "net/proxy/proxy_config_service.h" | 52 #include "net/proxy/proxy_config_service.h" |
| 54 #include "net/proxy/proxy_script_fetcher_impl.h" | 53 #include "net/proxy/proxy_script_fetcher_impl.h" |
| 55 #include "net/proxy/proxy_service.h" | 54 #include "net/proxy/proxy_service.h" |
| 55 #include "net/url_request/url_fetcher.h" |
| 56 #include "net/url_request/url_request_throttler_manager.h" | 56 #include "net/url_request/url_request_throttler_manager.h" |
| 57 | 57 |
| 58 #if defined(USE_NSS) | 58 #if defined(USE_NSS) |
| 59 #include "net/ocsp/nss_ocsp.h" | 59 #include "net/ocsp/nss_ocsp.h" |
| 60 #endif // defined(USE_NSS) | 60 #endif // defined(USE_NSS) |
| 61 | 61 |
| 62 #if defined(OS_CHROMEOS) | 62 #if defined(OS_CHROMEOS) |
| 63 #include "chrome/browser/chromeos/proxy_config_service_impl.h" | 63 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 64 #endif // defined(OS_CHROMEOS) | 64 #endif // defined(OS_CHROMEOS) |
| 65 | 65 |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 new net::HttpNetworkLayer( | 623 new net::HttpNetworkLayer( |
| 624 new net::HttpNetworkSession(system_params))); | 624 new net::HttpNetworkSession(system_params))); |
| 625 globals_->system_ftp_transaction_factory.reset( | 625 globals_->system_ftp_transaction_factory.reset( |
| 626 new net::FtpNetworkLayer(globals_->host_resolver.get())); | 626 new net::FtpNetworkLayer(globals_->host_resolver.get())); |
| 627 globals_->system_request_context.reset( | 627 globals_->system_request_context.reset( |
| 628 ConstructSystemRequestContext(globals_, net_log_)); | 628 ConstructSystemRequestContext(globals_, net_log_)); |
| 629 | 629 |
| 630 sdch_manager_->set_sdch_fetcher( | 630 sdch_manager_->set_sdch_fetcher( |
| 631 new SdchDictionaryFetcher(system_url_request_context_getter_.get())); | 631 new SdchDictionaryFetcher(system_url_request_context_getter_.get())); |
| 632 } | 632 } |
| OLD | NEW |