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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 private: | 202 private: |
203 // --------------------------------------------------------------------------- | 203 // --------------------------------------------------------------------------- |
204 // Important: When adding any new members below, consider whether they need to | 204 // Important: When adding any new members below, consider whether they need to |
205 // be added to CopyFrom. | 205 // be added to CopyFrom. |
206 // --------------------------------------------------------------------------- | 206 // --------------------------------------------------------------------------- |
207 | 207 |
208 // Ownership for these members are not defined here. Clients should either | 208 // Ownership for these members are not defined here. Clients should either |
209 // provide storage elsewhere or have a subclass take ownership. | 209 // provide storage elsewhere or have a subclass take ownership. |
210 NetLog* net_log_; | 210 NetLog* net_log_; |
211 HostResolver* host_resolver_; | 211 HostResolver* host_resolver_; |
| 212 // XXX |
212 CertVerifier* cert_verifier_; | 213 CertVerifier* cert_verifier_; |
213 ServerBoundCertService* server_bound_cert_service_; | 214 ServerBoundCertService* server_bound_cert_service_; |
214 FraudulentCertificateReporter* fraudulent_certificate_reporter_; | 215 FraudulentCertificateReporter* fraudulent_certificate_reporter_; |
215 HttpAuthHandlerFactory* http_auth_handler_factory_; | 216 HttpAuthHandlerFactory* http_auth_handler_factory_; |
216 ProxyService* proxy_service_; | 217 ProxyService* proxy_service_; |
217 scoped_refptr<SSLConfigService> ssl_config_service_; | 218 scoped_refptr<SSLConfigService> ssl_config_service_; |
218 NetworkDelegate* network_delegate_; | 219 NetworkDelegate* network_delegate_; |
219 HttpServerProperties* http_server_properties_; | 220 HttpServerProperties* http_server_properties_; |
220 HttpUserAgentSettings* http_user_agent_settings_; | 221 HttpUserAgentSettings* http_user_agent_settings_; |
221 scoped_refptr<CookieStore> cookie_store_; | 222 scoped_refptr<CookieStore> cookie_store_; |
222 TransportSecurityState* transport_security_state_; | 223 TransportSecurityState* transport_security_state_; |
223 HttpTransactionFactory* http_transaction_factory_; | 224 HttpTransactionFactory* http_transaction_factory_; |
224 const URLRequestJobFactory* job_factory_; | 225 const URLRequestJobFactory* job_factory_; |
225 URLRequestThrottlerManager* throttler_manager_; | 226 URLRequestThrottlerManager* throttler_manager_; |
226 | 227 |
227 // --------------------------------------------------------------------------- | 228 // --------------------------------------------------------------------------- |
228 // Important: When adding any new members below, consider whether they need to | 229 // Important: When adding any new members below, consider whether they need to |
229 // be added to CopyFrom. | 230 // be added to CopyFrom. |
230 // --------------------------------------------------------------------------- | 231 // --------------------------------------------------------------------------- |
231 | 232 |
232 scoped_ptr<std::set<const URLRequest*> > url_requests_; | 233 scoped_ptr<std::set<const URLRequest*> > url_requests_; |
233 | 234 |
234 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 235 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
235 }; | 236 }; |
236 | 237 |
237 } // namespace net | 238 } // namespace net |
238 | 239 |
239 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 240 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |