Index: trunk/src/chrome/browser/net/connection_tester.cc |
=================================================================== |
--- trunk/src/chrome/browser/net/connection_tester.cc (revision 188924) |
+++ trunk/src/chrome/browser/net/connection_tester.cc (working copy) |
@@ -21,6 +21,7 @@ |
#include "net/base/net_errors.h" |
#include "net/base/net_util.h" |
#include "net/cookies/cookie_monster.h" |
+#include "net/ftp/ftp_network_layer.h" |
#include "net/http/http_auth_handler_factory.h" |
#include "net/http/http_cache.h" |
#include "net/http/http_network_session.h" |
@@ -108,6 +109,10 @@ |
// The rest of the dependencies are standard, and don't depend on the |
// experiment being run. |
storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); |
+#if !defined(DISABLE_FTP_SUPPORT) |
+ storage_.set_ftp_transaction_factory( |
+ new net::FtpNetworkLayer(host_resolver())); |
+#endif |
storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); |
storage_.set_http_auth_handler_factory( |
net::HttpAuthHandlerFactory::CreateDefault(host_resolver())); |