| 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 is useful for building a simple URLRequestContext. Most creators | 5 // This class is useful for building a simple URLRequestContext. Most creators |
| 6 // of new URLRequestContexts should use this helper class to construct it. Call | 6 // of new URLRequestContexts should use this helper class to construct it. Call |
| 7 // any configuration params, and when done, invoke Build() to construct the | 7 // any configuration params, and when done, invoke Build() to construct the |
| 8 // URLRequestContext. This URLRequestContext will own all its own storage. | 8 // URLRequestContext. This URLRequestContext will own all its own storage. |
| 9 // | 9 // |
| 10 // URLRequestContextBuilder and its associated params classes are initially | 10 // URLRequestContextBuilder and its associated params classes are initially |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 HttpNetworkSessionParams http_network_session_params_; | 342 HttpNetworkSessionParams http_network_session_params_; |
| 343 base::FilePath transport_security_persister_path_; | 343 base::FilePath transport_security_persister_path_; |
| 344 NetLog* net_log_; | 344 NetLog* net_log_; |
| 345 scoped_ptr<HostResolver> host_resolver_; | 345 scoped_ptr<HostResolver> host_resolver_; |
| 346 scoped_ptr<ChannelIDService> channel_id_service_; | 346 scoped_ptr<ChannelIDService> channel_id_service_; |
| 347 scoped_ptr<ProxyConfigService> proxy_config_service_; | 347 scoped_ptr<ProxyConfigService> proxy_config_service_; |
| 348 scoped_ptr<ProxyService> proxy_service_; | 348 scoped_ptr<ProxyService> proxy_service_; |
| 349 scoped_ptr<NetworkDelegate> network_delegate_; | 349 scoped_ptr<NetworkDelegate> network_delegate_; |
| 350 scoped_ptr<ProxyDelegate> proxy_delegate_; | 350 scoped_ptr<ProxyDelegate> proxy_delegate_; |
| 351 scoped_ptr<CookieStore> cookie_store_; | 351 scoped_ptr<CookieStore> cookie_store_; |
| 352 #if !defined(DISABLE_FTP_SUPPORT) |
| 352 scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_; | 353 scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_; |
| 354 #endif |
| 353 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_; | 355 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_; |
| 354 scoped_ptr<CertVerifier> cert_verifier_; | 356 scoped_ptr<CertVerifier> cert_verifier_; |
| 355 std::vector<scoped_ptr<URLRequestInterceptor>> url_request_interceptors_; | 357 std::vector<scoped_ptr<URLRequestInterceptor>> url_request_interceptors_; |
| 356 scoped_ptr<HttpServerProperties> http_server_properties_; | 358 scoped_ptr<HttpServerProperties> http_server_properties_; |
| 357 std::map<std::string, scoped_ptr<URLRequestJobFactory::ProtocolHandler>> | 359 std::map<std::string, scoped_ptr<URLRequestJobFactory::ProtocolHandler>> |
| 358 protocol_handlers_; | 360 protocol_handlers_; |
| 359 | 361 |
| 360 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); | 362 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); |
| 361 }; | 363 }; |
| 362 | 364 |
| 363 } // namespace net | 365 } // namespace net |
| 364 | 366 |
| 365 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ | 367 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ |
| OLD | NEW |