diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 22:33:25 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 22:33:25 +0000 |
commit | 0d63354d16ebf48e0fcd105db1fc7e421ba9b3fe (patch) | |
tree | 2fdf87aaaa0d269444971359fb43baa0327fcf23 /net/ftp/ftp_network_transaction_unittest.cc | |
parent | 139f6d2be34a3ebaf5360570991d501d178a6861 (diff) | |
download | chromium_src-0d63354d16ebf48e0fcd105db1fc7e421ba9b3fe.zip chromium_src-0d63354d16ebf48e0fcd105db1fc7e421ba9b3fe.tar.gz chromium_src-0d63354d16ebf48e0fcd105db1fc7e421ba9b3fe.tar.bz2 |
Reverting 19425.
Review URL: http://codereview.chromium.org/147242
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction_unittest.cc')
-rw-r--r-- | net/ftp/ftp_network_transaction_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ftp/ftp_network_transaction_unittest.cc b/net/ftp/ftp_network_transaction_unittest.cc index d381b0b..b45156b 100644 --- a/net/ftp/ftp_network_transaction_unittest.cc +++ b/net/ftp/ftp_network_transaction_unittest.cc @@ -224,7 +224,7 @@ class FtpMockControlSocketFileDownloadRetrFail class FtpNetworkTransactionTest : public PlatformTest { public: FtpNetworkTransactionTest() - : session_(new FtpNetworkSession(new HostResolver)), + : session_(new FtpNetworkSession(&resolver_)), transaction_(session_.get(), &mock_socket_factory_) { } @@ -253,6 +253,7 @@ class FtpNetworkTransactionTest : public PlatformTest { EXPECT_EQ(FtpMockControlSocket::QUIT, ctrl_socket->state()); } + HostResolver resolver_; scoped_refptr<FtpNetworkSession> session_; MockClientSocketFactory mock_socket_factory_; FtpNetworkTransaction transaction_; |