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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "chrome/common/pref_names.h" | 45 #include "chrome/common/pref_names.h" |
46 #include "components/certificate_transparency/tree_state_tracker.h" | 46 #include "components/certificate_transparency/tree_state_tracker.h" |
47 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pref
s.h" | 47 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pref
s.h" |
48 #include "components/data_usage/core/data_use_aggregator.h" | 48 #include "components/data_usage/core/data_use_aggregator.h" |
49 #include "components/data_usage/core/data_use_amortizer.h" | 49 #include "components/data_usage/core/data_use_amortizer.h" |
50 #include "components/data_usage/core/data_use_annotator.h" | 50 #include "components/data_usage/core/data_use_annotator.h" |
51 #include "components/metrics/metrics_service.h" | 51 #include "components/metrics/metrics_service.h" |
52 #include "components/net_log/chrome_net_log.h" | 52 #include "components/net_log/chrome_net_log.h" |
53 #include "components/network_session_configurator/network_session_configurator.h
" | 53 #include "components/network_session_configurator/network_session_configurator.h
" |
54 #include "components/policy/core/common/policy_service.h" | 54 #include "components/policy/core/common/policy_service.h" |
| 55 #include "components/policy/policy_constants.h" |
55 #include "components/prefs/pref_registry_simple.h" | 56 #include "components/prefs/pref_registry_simple.h" |
56 #include "components/prefs/pref_service.h" | 57 #include "components/prefs/pref_service.h" |
57 #include "components/proxy_config/pref_proxy_config_tracker.h" | 58 #include "components/proxy_config/pref_proxy_config_tracker.h" |
58 #include "components/variations/variations_associated_data.h" | 59 #include "components/variations/variations_associated_data.h" |
59 #include "components/version_info/version_info.h" | 60 #include "components/version_info/version_info.h" |
60 #include "content/public/browser/browser_thread.h" | 61 #include "content/public/browser/browser_thread.h" |
61 #include "content/public/browser/cookie_store_factory.h" | 62 #include "content/public/browser/cookie_store_factory.h" |
62 #include "content/public/common/content_features.h" | 63 #include "content/public/common/content_features.h" |
63 #include "content/public/common/content_switches.h" | 64 #include "content/public/common/content_switches.h" |
64 #include "content/public/common/user_agent.h" | 65 #include "content/public/common/user_agent.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 #include "net/ssl/default_channel_id_store.h" | 98 #include "net/ssl/default_channel_id_store.h" |
98 #include "net/url_request/data_protocol_handler.h" | 99 #include "net/url_request/data_protocol_handler.h" |
99 #include "net/url_request/file_protocol_handler.h" | 100 #include "net/url_request/file_protocol_handler.h" |
100 #include "net/url_request/ftp_protocol_handler.h" | 101 #include "net/url_request/ftp_protocol_handler.h" |
101 #include "net/url_request/static_http_user_agent_settings.h" | 102 #include "net/url_request/static_http_user_agent_settings.h" |
102 #include "net/url_request/url_fetcher.h" | 103 #include "net/url_request/url_fetcher.h" |
103 #include "net/url_request/url_request_context.h" | 104 #include "net/url_request/url_request_context.h" |
104 #include "net/url_request/url_request_context_builder.h" | 105 #include "net/url_request/url_request_context_builder.h" |
105 #include "net/url_request/url_request_context_getter.h" | 106 #include "net/url_request/url_request_context_getter.h" |
106 #include "net/url_request/url_request_job_factory_impl.h" | 107 #include "net/url_request/url_request_job_factory_impl.h" |
107 #include "policy/policy_constants.h" | |
108 #include "url/url_constants.h" | 108 #include "url/url_constants.h" |
109 | 109 |
110 #if defined(ENABLE_EXTENSIONS) | 110 #if defined(ENABLE_EXTENSIONS) |
111 #include "chrome/browser/extensions/event_router_forwarder.h" | 111 #include "chrome/browser/extensions/event_router_forwarder.h" |
112 #endif | 112 #endif |
113 | 113 |
114 #if defined(USE_NSS_CERTS) | 114 #if defined(USE_NSS_CERTS) |
115 #include "net/cert_net/nss_ocsp.h" | 115 #include "net/cert_net/nss_ocsp.h" |
116 #endif | 116 #endif |
117 | 117 |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the | 1056 // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the |
1057 // system URLRequestContext too. There's no reason this should be tied to a | 1057 // system URLRequestContext too. There's no reason this should be tied to a |
1058 // profile. | 1058 // profile. |
1059 return context; | 1059 return context; |
1060 } | 1060 } |
1061 | 1061 |
1062 const metrics::UpdateUsagePrefCallbackType& | 1062 const metrics::UpdateUsagePrefCallbackType& |
1063 IOThread::GetMetricsDataUseForwarder() { | 1063 IOThread::GetMetricsDataUseForwarder() { |
1064 return metrics_data_use_forwarder_; | 1064 return metrics_data_use_forwarder_; |
1065 } | 1065 } |
OLD | NEW |