Index: net/url_request/url_request_context.h |
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h |
index cbafc449546f437de11b100bb2a13877c3efbf1a..6c236886460d33a97cf714dad1deba1ede5d072a 100644 |
--- a/net/url_request/url_request_context.h |
+++ b/net/url_request/url_request_context.h |
@@ -23,14 +23,12 @@ |
#include "net/base/transport_security_state.h" |
#include "net/http/http_network_session.h" |
#include "net/http/http_server_properties.h" |
-#include "net/ftp/ftp_auth_cache.h" |
#include "net/url_request/url_request.h" |
namespace net { |
class CertVerifier; |
class CookieStore; |
class FraudulentCertificateReporter; |
-class FtpTransactionFactory; |
class HostResolver; |
class HttpAuthHandlerFactory; |
class HttpTransactionFactory; |
@@ -131,14 +129,6 @@ class NET_EXPORT URLRequestContext |
http_transaction_factory_ = factory; |
} |
- // Gets the ftp transaction factory for this context. |
- FtpTransactionFactory* ftp_transaction_factory() const { |
- return ftp_transaction_factory_; |
- } |
- void set_ftp_transaction_factory(FtpTransactionFactory* factory) { |
- ftp_transaction_factory_ = factory; |
- } |
- |
void set_network_delegate(NetworkDelegate* network_delegate) { |
network_delegate_ = network_delegate; |
} |
@@ -165,15 +155,6 @@ class NET_EXPORT URLRequestContext |
transport_security_state_ = state; |
} |
- // Gets the FTP authentication cache for this context. |
- FtpAuthCache* ftp_auth_cache() const { |
-#if !defined(DISABLE_FTP_SUPPORT) |
- return ftp_auth_cache_.get(); |
-#else |
- return NULL; |
-#endif |
- } |
- |
// --------------------------------------------------------------------------- |
// Legacy accessors that delegate to http_user_agent_settings_. |
// TODO(pauljensen): Remove after all clients are updated to directly access |
@@ -239,14 +220,10 @@ class NET_EXPORT URLRequestContext |
HttpUserAgentSettings* http_user_agent_settings_; |
scoped_refptr<CookieStore> cookie_store_; |
TransportSecurityState* transport_security_state_; |
-#if !defined(DISABLE_FTP_SUPPORT) |
- scoped_ptr<FtpAuthCache> ftp_auth_cache_; |
-#endif |
// The charset of the referrer where this request comes from. It's not |
// used in communication with a server but is used to construct a suggested |
// filename for file download. |
HttpTransactionFactory* http_transaction_factory_; |
- FtpTransactionFactory* ftp_transaction_factory_; |
const URLRequestJobFactory* job_factory_; |
URLRequestThrottlerManager* throttler_manager_; |