diff options
Diffstat (limited to 'net/ftp/ftp_network_layer.cc')
-rw-r--r-- | net/ftp/ftp_network_layer.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/ftp/ftp_network_layer.cc b/net/ftp/ftp_network_layer.cc index 06884ce..e05b67f 100644 --- a/net/ftp/ftp_network_layer.cc +++ b/net/ftp/ftp_network_layer.cc @@ -18,6 +18,11 @@ FtpNetworkLayer::FtpNetworkLayer() FtpNetworkLayer::~FtpNetworkLayer() { } +// static +FtpTransactionFactory* FtpNetworkLayer::CreateFactory() { + return new FtpNetworkLayer(); +} + FtpTransaction* FtpNetworkLayer::CreateTransaction() { if (suspended_) return NULL; @@ -26,10 +31,6 @@ FtpTransaction* FtpNetworkLayer::CreateTransaction() { session_, ClientSocketFactory::GetDefaultFactory()); } -FtpAuthCache* FtpNetworkLayer::GetAuthCache() { - return session_->auth_cache(); -} - void FtpNetworkLayer::Suspend(bool suspend) { suspended_ = suspend; |