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

Side by Side Diff: net/url_request/url_request_context.h

Issue 2872133005: IOThread: Move more stuff into system context's URLRequestContextStore. (Closed)
Patch Set: Merge Created 3 years, 7 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
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 // This class represents contextual information (cookies, cache, etc.) 5 // This class represents contextual information (cookies, cache, etc.)
6 // that's necessary when processing resource requests. 6 // that's necessary when processing resource requests.
7 7
8 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 8 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
9 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 9 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
10 10
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // additionally call AssertNoURLRequests() within their own destructor, 243 // additionally call AssertNoURLRequests() within their own destructor,
244 // prior to implicit destruction of subclass-owned state. 244 // prior to implicit destruction of subclass-owned state.
245 void AssertNoURLRequests() const; 245 void AssertNoURLRequests() const;
246 246
247 // Get the underlying |HttpUserAgentSettings| implementation that provides 247 // Get the underlying |HttpUserAgentSettings| implementation that provides
248 // the HTTP Accept-Language and User-Agent header values. 248 // the HTTP Accept-Language and User-Agent header values.
249 const HttpUserAgentSettings* http_user_agent_settings() const { 249 const HttpUserAgentSettings* http_user_agent_settings() const {
250 return http_user_agent_settings_; 250 return http_user_agent_settings_;
251 } 251 }
252 void set_http_user_agent_settings( 252 void set_http_user_agent_settings(
253 HttpUserAgentSettings* http_user_agent_settings) { 253 const HttpUserAgentSettings* http_user_agent_settings) {
254 http_user_agent_settings_ = http_user_agent_settings; 254 http_user_agent_settings_ = http_user_agent_settings;
255 } 255 }
256 256
257 // Gets the NetworkQualityEstimator associated with this context. 257 // Gets the NetworkQualityEstimator associated with this context.
258 // May return nullptr. 258 // May return nullptr.
259 NetworkQualityEstimator* network_quality_estimator() const { 259 NetworkQualityEstimator* network_quality_estimator() const {
260 return network_quality_estimator_; 260 return network_quality_estimator_;
261 } 261 }
262 void set_network_quality_estimator( 262 void set_network_quality_estimator(
263 NetworkQualityEstimator* network_quality_estimator) { 263 NetworkQualityEstimator* network_quality_estimator) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // provide storage elsewhere or have a subclass take ownership. 301 // provide storage elsewhere or have a subclass take ownership.
302 NetLog* net_log_; 302 NetLog* net_log_;
303 HostResolver* host_resolver_; 303 HostResolver* host_resolver_;
304 CertVerifier* cert_verifier_; 304 CertVerifier* cert_verifier_;
305 ChannelIDService* channel_id_service_; 305 ChannelIDService* channel_id_service_;
306 HttpAuthHandlerFactory* http_auth_handler_factory_; 306 HttpAuthHandlerFactory* http_auth_handler_factory_;
307 ProxyService* proxy_service_; 307 ProxyService* proxy_service_;
308 scoped_refptr<SSLConfigService> ssl_config_service_; 308 scoped_refptr<SSLConfigService> ssl_config_service_;
309 NetworkDelegate* network_delegate_; 309 NetworkDelegate* network_delegate_;
310 HttpServerProperties* http_server_properties_; 310 HttpServerProperties* http_server_properties_;
311 HttpUserAgentSettings* http_user_agent_settings_; 311 const HttpUserAgentSettings* http_user_agent_settings_;
312 CookieStore* cookie_store_; 312 CookieStore* cookie_store_;
313 TransportSecurityState* transport_security_state_; 313 TransportSecurityState* transport_security_state_;
314 CTVerifier* cert_transparency_verifier_; 314 CTVerifier* cert_transparency_verifier_;
315 CTPolicyEnforcer* ct_policy_enforcer_; 315 CTPolicyEnforcer* ct_policy_enforcer_;
316 HttpTransactionFactory* http_transaction_factory_; 316 HttpTransactionFactory* http_transaction_factory_;
317 const URLRequestJobFactory* job_factory_; 317 const URLRequestJobFactory* job_factory_;
318 URLRequestThrottlerManager* throttler_manager_; 318 URLRequestThrottlerManager* throttler_manager_;
319 URLRequestBackoffManager* backoff_manager_; 319 URLRequestBackoffManager* backoff_manager_;
320 SdchManager* sdch_manager_; 320 SdchManager* sdch_manager_;
321 NetworkQualityEstimator* network_quality_estimator_; 321 NetworkQualityEstimator* network_quality_estimator_;
(...skipping 30 matching lines...) Expand all
352 // Whether AddToAddressMap() has reported false. This is to avoid gathering 352 // Whether AddToAddressMap() has reported false. This is to avoid gathering
353 // too many crash dumps when users run into this scenario. 353 // too many crash dumps when users run into this scenario.
354 bool has_reported_too_many_outstanding_requests_; 354 bool has_reported_too_many_outstanding_requests_;
355 355
356 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); 356 DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
357 }; 357 };
358 358
359 } // namespace net 359 } // namespace net
360 360
361 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 361 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
OLDNEW
« chrome/browser/io_thread.cc ('K') | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698