Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: chrome/browser/io_thread.h

Issue 2872133005: IOThread: Move more stuff into system context's URLRequestContextStore. (Closed)
Patch Set: Fix merge Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CHROME_BROWSER_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 namespace data_use_measurement { 69 namespace data_use_measurement {
70 class ChromeDataUseAscriber; 70 class ChromeDataUseAscriber;
71 } 71 }
72 72
73 namespace extensions { 73 namespace extensions {
74 class EventRouterForwarder; 74 class EventRouterForwarder;
75 } 75 }
76 76
77 namespace net { 77 namespace net {
78 class CTPolicyEnforcer;
79 class CertVerifier; 78 class CertVerifier;
80 class CTLogVerifier; 79 class CTLogVerifier;
81 class HostMappingRules; 80 class HostMappingRules;
82 class HostResolver; 81 class HostResolver;
83 class HttpAuthPreferences; 82 class HttpAuthPreferences;
84 class HttpServerProperties;
85 class HttpUserAgentSettings;
86 class LoggingNetworkChangeObserver; 83 class LoggingNetworkChangeObserver;
87 class NetworkDelegate;
88 class NetworkQualityEstimator; 84 class NetworkQualityEstimator;
89 class ProxyConfigService; 85 class ProxyConfigService;
90 class SSLConfigService; 86 class SSLConfigService;
91 class TransportSecurityState;
92 class URLRequestContext; 87 class URLRequestContext;
93 class URLRequestContextGetter; 88 class URLRequestContextGetter;
94 class URLRequestContextStorage; 89 class URLRequestContextStorage;
95 90
96 namespace ct { 91 namespace ct {
97 class STHObserver; 92 class STHObserver;
98 } 93 }
99 94
100 } // namespace net 95 } // namespace net
101 96
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 std::unique_ptr<data_use_measurement::ChromeDataUseAscriber> 131 std::unique_ptr<data_use_measurement::ChromeDataUseAscriber>
137 data_use_ascriber; 132 data_use_ascriber;
138 // Global aggregator of data use. It must outlive the 133 // Global aggregator of data use. It must outlive the
139 // |system_network_delegate|. 134 // |system_network_delegate|.
140 std::unique_ptr<data_usage::DataUseAggregator> data_use_aggregator; 135 std::unique_ptr<data_usage::DataUseAggregator> data_use_aggregator;
141 #if defined(OS_ANDROID) 136 #if defined(OS_ANDROID)
142 // An external observer of data use. 137 // An external observer of data use.
143 std::unique_ptr<chrome::android::ExternalDataUseObserver> 138 std::unique_ptr<chrome::android::ExternalDataUseObserver>
144 external_data_use_observer; 139 external_data_use_observer;
145 #endif // defined(OS_ANDROID) 140 #endif // defined(OS_ANDROID)
146 // The "system" NetworkDelegate, used for Profile-agnostic network events.
147 std::unique_ptr<net::NetworkDelegate> system_network_delegate;
148 std::unique_ptr<net::HostResolver> host_resolver; 141 std::unique_ptr<net::HostResolver> host_resolver;
149 std::unique_ptr<net::CertVerifier> cert_verifier; 142 std::unique_ptr<net::CertVerifier> cert_verifier;
150 // This TransportSecurityState doesn't load or save any state. It's only
151 // used to enforce pinning for system requests and will only use built-in
152 // pins.
153 std::unique_ptr<net::TransportSecurityState> transport_security_state;
154 std::vector<scoped_refptr<const net::CTLogVerifier>> ct_logs; 143 std::vector<scoped_refptr<const net::CTLogVerifier>> ct_logs;
155 std::unique_ptr<net::CTVerifier> cert_transparency_verifier; 144 std::unique_ptr<net::CTVerifier> cert_transparency_verifier;
156 std::unique_ptr<net::CTPolicyEnforcer> ct_policy_enforcer;
157 scoped_refptr<net::SSLConfigService> ssl_config_service;
158 std::unique_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; 145 std::unique_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory;
159 std::unique_ptr<net::HttpServerProperties> http_server_properties;
160 std::unique_ptr<net::HttpAuthPreferences> http_auth_preferences; 146 std::unique_ptr<net::HttpAuthPreferences> http_auth_preferences;
161 std::unique_ptr<net::URLRequestContextStorage> 147 std::unique_ptr<net::URLRequestContextStorage>
162 system_request_context_storage; 148 system_request_context_storage;
163 std::unique_ptr<net::URLRequestContext> system_request_context; 149 std::unique_ptr<net::URLRequestContext> system_request_context;
164 SystemRequestContextLeakChecker system_request_context_leak_checker; 150 SystemRequestContextLeakChecker system_request_context_leak_checker;
165 #if BUILDFLAG(ENABLE_EXTENSIONS) 151 #if BUILDFLAG(ENABLE_EXTENSIONS)
166 scoped_refptr<extensions::EventRouterForwarder> 152 scoped_refptr<extensions::EventRouterForwarder>
167 extension_event_router_forwarder; 153 extension_event_router_forwarder;
168 #endif 154 #endif
169 std::unique_ptr<net::HostMappingRules> host_mapping_rules; 155 std::unique_ptr<net::HostMappingRules> host_mapping_rules;
170 std::unique_ptr<net::HttpUserAgentSettings> http_user_agent_settings;
171 std::unique_ptr<net::NetworkQualityEstimator> network_quality_estimator; 156 std::unique_ptr<net::NetworkQualityEstimator> network_quality_estimator;
172 std::unique_ptr< 157 std::unique_ptr<
173 net::NetworkQualityEstimator::RTTAndThroughputEstimatesObserver> 158 net::NetworkQualityEstimator::RTTAndThroughputEstimatesObserver>
174 network_quality_observer; 159 network_quality_observer;
175 160
176 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a 161 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
177 // main frame load fails with a DNS error in order to provide more useful 162 // main frame load fails with a DNS error in order to provide more useful
178 // information to the renderer so it can show a more specific error page. 163 // information to the renderer so it can show a more specific error page.
179 std::unique_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; 164 std::unique_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
180 165
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 bool http_09_on_non_default_ports_enabled_; 350 bool http_09_on_non_default_ports_enabled_;
366 351
367 const base::TimeTicks creation_time_; 352 const base::TimeTicks creation_time_;
368 353
369 base::WeakPtrFactory<IOThread> weak_factory_; 354 base::WeakPtrFactory<IOThread> weak_factory_;
370 355
371 DISALLOW_COPY_AND_ASSIGN(IOThread); 356 DISALLOW_COPY_AND_ASSIGN(IOThread);
372 }; 357 };
373 358
374 #endif // CHROME_BROWSER_IO_THREAD_H_ 359 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698