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 <utility> | 7 #include <utility> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/base64.h" | 10 #include "base/base64.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #include "components/prefs/pref_registry_simple.h" | 54 #include "components/prefs/pref_registry_simple.h" |
55 #include "components/prefs/pref_service.h" | 55 #include "components/prefs/pref_service.h" |
56 #include "components/proxy_config/pref_proxy_config_tracker.h" | 56 #include "components/proxy_config/pref_proxy_config_tracker.h" |
57 #include "components/variations/variations_associated_data.h" | 57 #include "components/variations/variations_associated_data.h" |
58 #include "components/version_info/version_info.h" | 58 #include "components/version_info/version_info.h" |
59 #include "content/public/browser/browser_thread.h" | 59 #include "content/public/browser/browser_thread.h" |
60 #include "content/public/browser/cookie_store_factory.h" | 60 #include "content/public/browser/cookie_store_factory.h" |
61 #include "content/public/common/content_features.h" | 61 #include "content/public/common/content_features.h" |
62 #include "content/public/common/content_switches.h" | 62 #include "content/public/common/content_switches.h" |
63 #include "content/public/common/user_agent.h" | 63 #include "content/public/common/user_agent.h" |
64 #include "net/base/external_estimate_provider.h" | |
65 #include "net/base/host_mapping_rules.h" | 64 #include "net/base/host_mapping_rules.h" |
66 #include "net/base/network_quality_estimator.h" | |
67 #include "net/base/sdch_manager.h" | 65 #include "net/base/sdch_manager.h" |
68 #include "net/cert/cert_verifier.h" | 66 #include "net/cert/cert_verifier.h" |
69 #include "net/cert/cert_verify_proc.h" | 67 #include "net/cert/cert_verify_proc.h" |
70 #include "net/cert/ct_known_logs.h" | 68 #include "net/cert/ct_known_logs.h" |
71 #include "net/cert/ct_log_verifier.h" | 69 #include "net/cert/ct_log_verifier.h" |
72 #include "net/cert/ct_policy_enforcer.h" | 70 #include "net/cert/ct_policy_enforcer.h" |
73 #include "net/cert/ct_verifier.h" | 71 #include "net/cert/ct_verifier.h" |
74 #include "net/cert/multi_log_ct_verifier.h" | 72 #include "net/cert/multi_log_ct_verifier.h" |
75 #include "net/cert/multi_threaded_cert_verifier.h" | 73 #include "net/cert/multi_threaded_cert_verifier.h" |
76 #include "net/cookies/cookie_store.h" | 74 #include "net/cookies/cookie_store.h" |
77 #include "net/dns/host_cache.h" | 75 #include "net/dns/host_cache.h" |
78 #include "net/dns/host_resolver.h" | 76 #include "net/dns/host_resolver.h" |
79 #include "net/dns/mapped_host_resolver.h" | 77 #include "net/dns/mapped_host_resolver.h" |
80 #include "net/ftp/ftp_network_layer.h" | 78 #include "net/ftp/ftp_network_layer.h" |
81 #include "net/http/http_auth_filter.h" | 79 #include "net/http/http_auth_filter.h" |
82 #include "net/http/http_auth_handler_factory.h" | 80 #include "net/http/http_auth_handler_factory.h" |
83 #include "net/http/http_auth_preferences.h" | 81 #include "net/http/http_auth_preferences.h" |
84 #include "net/http/http_network_layer.h" | 82 #include "net/http/http_network_layer.h" |
85 #include "net/http/http_server_properties_impl.h" | 83 #include "net/http/http_server_properties_impl.h" |
| 84 #include "net/nqe/external_estimate_provider.h" |
| 85 #include "net/nqe/network_quality_estimator.h" |
86 #include "net/proxy/proxy_config_service.h" | 86 #include "net/proxy/proxy_config_service.h" |
87 #include "net/proxy/proxy_script_fetcher_impl.h" | 87 #include "net/proxy/proxy_script_fetcher_impl.h" |
88 #include "net/proxy/proxy_service.h" | 88 #include "net/proxy/proxy_service.h" |
89 #include "net/quic/crypto/crypto_protocol.h" | 89 #include "net/quic/crypto/crypto_protocol.h" |
90 #include "net/quic/quic_protocol.h" | 90 #include "net/quic/quic_protocol.h" |
91 #include "net/quic/quic_utils.h" | 91 #include "net/quic/quic_utils.h" |
92 #include "net/socket/ssl_client_socket.h" | 92 #include "net/socket/ssl_client_socket.h" |
93 #include "net/socket/tcp_client_socket.h" | 93 #include "net/socket/tcp_client_socket.h" |
94 #include "net/spdy/spdy_session.h" | 94 #include "net/spdy/spdy_session.h" |
95 #include "net/ssl/channel_id_service.h" | 95 #include "net/ssl/channel_id_service.h" |
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the | 1776 // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the |
1777 // system URLRequestContext too. There's no reason this should be tied to a | 1777 // system URLRequestContext too. There's no reason this should be tied to a |
1778 // profile. | 1778 // profile. |
1779 return context; | 1779 return context; |
1780 } | 1780 } |
1781 | 1781 |
1782 const metrics::UpdateUsagePrefCallbackType& | 1782 const metrics::UpdateUsagePrefCallbackType& |
1783 IOThread::GetMetricsDataUseForwarder() { | 1783 IOThread::GetMetricsDataUseForwarder() { |
1784 return metrics_data_use_forwarder_; | 1784 return metrics_data_use_forwarder_; |
1785 } | 1785 } |
OLD | NEW |