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 // This class represents contextual information (cookies, cache, etc.) | 5 // This class represents contextual information (cookies, cache, etc.) |
6 // that's useful when processing resource requests. | 6 // that's useful when processing resource requests. |
7 // The class is reference-counted so that it can be cleaned up after any | 7 // The class is reference-counted so that it can be cleaned up after any |
8 // requests that are using it have been completed. | 8 // requests that are using it have been completed. |
9 | 9 |
10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 ProxyService* proxy_service_; | 235 ProxyService* proxy_service_; |
236 scoped_refptr<SSLConfigService> ssl_config_service_; | 236 scoped_refptr<SSLConfigService> ssl_config_service_; |
237 NetworkDelegate* network_delegate_; | 237 NetworkDelegate* network_delegate_; |
238 HttpServerProperties* http_server_properties_; | 238 HttpServerProperties* http_server_properties_; |
239 HttpUserAgentSettings* http_user_agent_settings_; | 239 HttpUserAgentSettings* http_user_agent_settings_; |
240 scoped_refptr<CookieStore> cookie_store_; | 240 scoped_refptr<CookieStore> cookie_store_; |
241 TransportSecurityState* transport_security_state_; | 241 TransportSecurityState* transport_security_state_; |
242 #if !defined(DISABLE_FTP_SUPPORT) | 242 #if !defined(DISABLE_FTP_SUPPORT) |
243 scoped_ptr<FtpAuthCache> ftp_auth_cache_; | 243 scoped_ptr<FtpAuthCache> ftp_auth_cache_; |
244 #endif | 244 #endif |
245 // The charset of the referrer where this request comes from. It's not | |
246 // used in communication with a server but is used to construct a suggested | |
247 // filename for file download. | |
248 HttpTransactionFactory* http_transaction_factory_; | 245 HttpTransactionFactory* http_transaction_factory_; |
249 FtpTransactionFactory* ftp_transaction_factory_; | 246 FtpTransactionFactory* ftp_transaction_factory_; |
250 const URLRequestJobFactory* job_factory_; | 247 const URLRequestJobFactory* job_factory_; |
251 URLRequestThrottlerManager* throttler_manager_; | 248 URLRequestThrottlerManager* throttler_manager_; |
252 | 249 |
253 // --------------------------------------------------------------------------- | 250 // --------------------------------------------------------------------------- |
254 // Important: When adding any new members below, consider whether they need to | 251 // Important: When adding any new members below, consider whether they need to |
255 // be added to CopyFrom. | 252 // be added to CopyFrom. |
256 // --------------------------------------------------------------------------- | 253 // --------------------------------------------------------------------------- |
257 | 254 |
258 scoped_ptr<std::set<const URLRequest*> > url_requests_; | 255 scoped_ptr<std::set<const URLRequest*> > url_requests_; |
259 | 256 |
260 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 257 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
261 }; | 258 }; |
262 | 259 |
263 } // namespace net | 260 } // namespace net |
264 | 261 |
265 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 262 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |